1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2020 Mellanox Technologies, Ltd
5 #ifndef RTE_PMD_MLX5_FLOW_OS_H_
6 #define RTE_PMD_MLX5_FLOW_OS_H_
10 #ifdef HAVE_IBV_FLOW_DV_SUPPORT
11 extern const struct mlx5_flow_driver_ops mlx5_flow_dv_drv_ops;
15 * Get OS enforced flow type. MLX5_FLOW_TYPE_MAX means "non enforced type".
18 * Flow type (MLX5_FLOW_TYPE_MAX)
20 static inline enum mlx5_flow_drv_type
21 mlx5_flow_os_get_type(void)
23 return MLX5_FLOW_TYPE_MAX;
27 * Check if item type is supported.
33 * True is this item type is supported, false if not supported.
36 mlx5_flow_os_item_supported(int item __rte_unused)
42 * Check if action type is supported.
45 * Action type to check.
48 * True is this action type is supported, false if not supported.
51 mlx5_flow_os_action_supported(int action __rte_unused)
56 #endif /* RTE_PMD_MLX5_FLOW_OS_H_ */