examples/ip_pipeline: link routing output ports to devices
authorJasvinder Singh <jasvinder.singh@intel.com>
Wed, 1 Jun 2016 14:00:59 +0000 (15:00 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 8 Jun 2016 19:36:04 +0000 (21:36 +0200)
commit760064838ec06cbdbe96375930237510e260d09e
tree05edf8d1c4a342a4c5ccf0073f4ee9cce76c2716
parent32af1f421a06caec2c3a09e9bde9524f926a5d9b
examples/ip_pipeline: link routing output ports to devices

This commit implements tracking mechanism for linking routing pipeline
output ports to physical NIC ports.

Once all the pipelines of the application are initialised, mechanism is
invoked during post initialisation phase for relating routing pipeline
output with NIC ports by navigating through the intermediate pipelines,
if present.

The tracking functions of the pipelines which help in navigating through
the intermediate pipelines are moved from pipeline_<pipeline_name>_be.c
to pipeline_<pipeline_name>.c. All pipelines except passthrough pipelines
use default tracking function (pipeline/pipeline_common_fe.c).

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
18 files changed:
examples/ip_pipeline/app.h
examples/ip_pipeline/init.c
examples/ip_pipeline/pipeline.h
examples/ip_pipeline/pipeline/pipeline_common_fe.c
examples/ip_pipeline/pipeline/pipeline_common_fe.h
examples/ip_pipeline/pipeline/pipeline_firewall.c
examples/ip_pipeline/pipeline/pipeline_firewall_be.c
examples/ip_pipeline/pipeline/pipeline_flow_actions.c
examples/ip_pipeline/pipeline/pipeline_flow_actions_be.c
examples/ip_pipeline/pipeline/pipeline_flow_classification.c
examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c
examples/ip_pipeline/pipeline/pipeline_master.c
examples/ip_pipeline/pipeline/pipeline_master_be.c
examples/ip_pipeline/pipeline/pipeline_passthrough.c
examples/ip_pipeline/pipeline/pipeline_passthrough_be.c
examples/ip_pipeline/pipeline/pipeline_routing.c
examples/ip_pipeline/pipeline/pipeline_routing_be.c
examples/ip_pipeline/pipeline_be.h