5 #ifndef _RTE_FLOW_CLASSIFY_H_
6 #define _RTE_FLOW_CLASSIFY_H_
44 #include <rte_compat.h>
56 extern int librte_flow_classify_logtype;
58 #define RTE_FLOW_CLASSIFY_LOG(level, ...) \
59 rte_log(RTE_LOG_ ## level, \
60 librte_flow_classify_logtype, \
61 RTE_FMT("%s(): " RTE_FMT_HEAD(__VA_ARGS__,), \
63 RTE_FMT_TAIL(__VA_ARGS__,)))
65 #ifndef RTE_FLOW_CLASSIFY_TABLE_MAX
66 #define RTE_FLOW_CLASSIFY_TABLE_MAX 32
70 struct rte_flow_classifier;
73 struct rte_flow_classify_rule;
143 struct rte_flow_classify_ipv4_5tuple_stats {
158 struct rte_flow_classifier * __rte_experimental
169 int __rte_experimental
182 int __rte_experimental
203 int __rte_experimental
207 const struct rte_flow_action actions[],
229 struct rte_flow_classify_rule * __rte_experimental
233 const struct rte_flow_action actions[],
247 int __rte_experimental
249 struct rte_flow_classify_rule *rule);
268 int __rte_experimental
271 const uint16_t nb_pkts,
272 struct rte_flow_classify_rule *rule,