[dpdk-dev] [PATCH v4] librte_pipeline: add support for packet redirection at action handlers

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Mar 7 12:01:51 CET 2016


Hi Jasvinder,

Don't hesitate to leave some blank lines in your message, it's free :)

2016-03-03 11:01, Jasvinder Singh:
> 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). Therefore, new
> pipeline API functions have been added which allows action handlers to
> hijack packets and remove them from the pipeline processing, and then either
> drop them or send them out of the pipeline on any output port. The port
> (in/out) and table action handler prototypes have been changed for making
> use of these new API functions. This feature will be helpful to implement
> functions such as exception handling (e.g. TTL =0), load balancing etc.
> Changes are made to the ports and table action handlers defined in
> app/test_pipeline and ip_pipeline sample application.

I have the feeling it would be easier to parse if the structure changes were
done in a separate commit, then introduce the new function.

You have forgotten to remove the deprecation notice.


More information about the dev mailing list