34 #ifndef _RTE_FLOW_CLASSIFY_H_ 35 #define _RTE_FLOW_CLASSIFY_H_ 83 extern int librte_flow_classify_logtype;
85 #define RTE_FLOW_CLASSIFY_LOG(level, fmt, args...) \ 86 rte_log(RTE_LOG_ ## level, librte_flow_classify_logtype, "%s(): " fmt, \ 90 struct rte_flow_classifier;
93 struct rte_flow_classify_rule;
115 #define RTE_FLOW_CLASSIFY_TABLE_MAX 64 164 struct rte_flow_classify_ipv4_5tuple_stats {
179 struct rte_flow_classifier *
232 struct rte_flow_classify_rule *
256 struct rte_flow_classify_rule *rule);
281 const uint16_t nb_pkts,
282 struct rte_flow_classify_rule *rule,
struct rte_flow_classifier * rte_flow_classifier_create(struct rte_flow_classifier_params *params)
int rte_flow_classify_table_create(struct rte_flow_classifier *cls, struct rte_flow_classify_table_params *params, uint32_t *table_id)
rte_flow_classify_table_type
enum rte_flow_classify_table_type type
struct rte_table_ops * ops
int rte_flow_classify_table_entry_delete(struct rte_flow_classifier *cls, uint32_t table_id, struct rte_flow_classify_rule *rule)
rte_flow_classify_rule_type
struct rte_flow_classify_rule * rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls, uint32_t table_id, int *key_found, const struct rte_flow_attr *attr, const struct rte_flow_item pattern[], const struct rte_flow_action actions[], struct rte_flow_error *error)
int rte_flow_classifier_query(struct rte_flow_classifier *cls, uint32_t table_id, struct rte_mbuf **pkts, const uint16_t nb_pkts, struct rte_flow_classify_rule *rule, struct rte_flow_classify_stats *stats)
int rte_flow_classifier_free(struct rte_flow_classifier *cls)