flow_classify: introduce flow classify library
authorFerruh Yigit <ferruh.yigit@intel.com>
Tue, 24 Oct 2017 17:28:00 +0000 (18:28 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Oct 2017 20:26:54 +0000 (22:26 +0200)
commitbe41ac2a330fac29c088d6eb1b96e3fa0deaabe7
tree7ce9380423ba85b78bbd08a21d3ff6a0b3d01d1d
parent490424e6c966b8a08b653ccd32c9d88e5a2716c1
flow_classify: introduce flow classify library

The following APIs's are implemented in the
librte_flow_classify library:

rte_flow_classifier_create
rte_flow_classifier_free
rte_flow_classifier_query
rte_flow_classify_table_create
rte_flow_classify_table_entry_add
rte_flow_classify_table_entry_delete

The following librte_table API's are used:
f_create to create a table.
f_add to add a rule to the table.
f_del to delete a rule from the table.
f_free to free a table
f_lookup to match packets with the rules.

The library supports counting of IPv4 five tupple packets only,
ie IPv4 UDP, TCP and SCTP packets.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
13 files changed:
MAINTAINERS
config/common_base
doc/api/doxy-api-index.md
doc/api/doxy-api.conf
doc/guides/rel_notes/release_17_11.rst
lib/Makefile
lib/librte_flow_classify/Makefile [new file with mode: 0644]
lib/librte_flow_classify/rte_flow_classify.c [new file with mode: 0644]
lib/librte_flow_classify/rte_flow_classify.h [new file with mode: 0644]
lib/librte_flow_classify/rte_flow_classify_parse.c [new file with mode: 0644]
lib/librte_flow_classify/rte_flow_classify_parse.h [new file with mode: 0644]
lib/librte_flow_classify/rte_flow_classify_version.map [new file with mode: 0644]
mk/rte.app.mk