examples/flow_classify: add sample application
authorBernard Iremonger <bernard.iremonger@intel.com>
Tue, 24 Oct 2017 17:28:01 +0000 (18:28 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Oct 2017 20:26:54 +0000 (22:26 +0200)
commitbab16ddaf2c1e31fe89e3c8cd786d387b8f28f06
tree552f5672de848c192bae49e757b7092584e88f5d
parentbe41ac2a330fac29c088d6eb1b96e3fa0deaabe7
examples/flow_classify: add sample application

The flow_classify sample application exercises the following
librte_flow_classify API's:

rte_flow_classifier_create
rte_flow_classifier_query
rte_flow_classify_table_create
rte_flow_classify_table_entry_add
rte_flow_classify_table_entry_delete

It sets up the IPv4 ACL field definitions.
It creates table_acl and adds and deletes rules using the
librte_table API.

It uses a file of IPv4 five tuple rules for input.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
examples/Makefile
examples/flow_classify/Makefile [new file with mode: 0644]
examples/flow_classify/flow_classify.c [new file with mode: 0644]
examples/flow_classify/ipv4_rules_file.txt [new file with mode: 0644]