34 #ifndef RTE_FLOW_DRIVER_H_ 35 #define RTE_FLOW_DRIVER_H_ 95 (
struct rte_eth_dev *,
101 struct rte_flow *(*create)
102 (
struct rte_eth_dev *,
109 (
struct rte_eth_dev *,
114 (
struct rte_eth_dev *,
118 (
struct rte_eth_dev *,
enum rte_flow_error_type type
int(* validate)(struct rte_eth_dev *, const struct rte_flow_attr *, const struct rte_flow_item [], const struct rte_flow_action [], struct rte_flow_error *)
static int rte_flow_error_set(struct rte_flow_error *error, int code, enum rte_flow_error_type type, const void *cause, const char *message)
int(* query)(struct rte_eth_dev *, struct rte_flow *, enum rte_flow_action_type, void *, struct rte_flow_error *)
const struct rte_flow_ops * rte_flow_ops_get(uint8_t port_id, struct rte_flow_error *error)
int(* flush)(struct rte_eth_dev *, struct rte_flow_error *)
int(* destroy)(struct rte_eth_dev *, struct rte_flow *, struct rte_flow_error *)