pipeline: support packet redirection at action handlers
authorJasvinder Singh <jasvinder.singh@intel.com>
Tue, 8 Mar 2016 18:07:48 +0000 (18:07 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 10 Mar 2016 00:28:29 +0000 (01:28 +0100)
commit88ac2fd99fa06419c5b95ad662dc1e618bd8ac49
treec27e3d9db612af5f5265b127a7e4c1568f542f42
parentac5e1d838dc163ab130477f992413af178b6bb88
pipeline: support packet redirection at action handlers

Currently, there is no mechanism that allows the pipeline ports (in/out)
and table action handlers to override the default forwarding decision
(as previously configured per input port or in the table entry). The port
(in/out) and table action handler prototypes have been changed to allow
pipeline action handlers (port in/out, table) to remove the selected
packets from the further pipeline processing and to take full ownership
for these packets. This feature will be helpful to implement functions
such as exception handling (e.g. TTL =0), load balancing etc.

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
18 files changed:
app/test-pipeline/pipeline_acl.c
app/test-pipeline/pipeline_hash.c
app/test-pipeline/pipeline_lpm.c
app/test-pipeline/pipeline_lpm_ipv6.c
app/test-pipeline/pipeline_stub.c
app/test/test_table_acl.c
app/test/test_table_pipeline.c
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_16_04.rst
examples/ip_pipeline/pipeline/pipeline_actions_common.h
examples/ip_pipeline/pipeline/pipeline_firewall_be.c
examples/ip_pipeline/pipeline/pipeline_flow_actions_be.c
examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c
examples/ip_pipeline/pipeline/pipeline_passthrough_be.c
examples/ip_pipeline/pipeline/pipeline_routing_be.c
lib/librte_pipeline/Makefile
lib/librte_pipeline/rte_pipeline.c
lib/librte_pipeline/rte_pipeline.h