pipeline: introduce action functions
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Mon, 13 Sep 2021 16:44:36 +0000 (17:44 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 27 Sep 2021 10:09:11 +0000 (12:09 +0200)
commit5dc6a5f2e7eb20bdab82068f0e2d01331ca703a2
treeec1ba3b496d31e1667342b49e506f1d3ab786182
parent4bd025dc98afd76316bcf61aefdcf7131a680335
pipeline: introduce action functions

For better performance, the option to run a single function per action
is now provided, which requires a single function call per action that
can be better optimized by the C compiler, as opposed to one function
call per instruction. Special table lookup instructions are added to
to support this feature.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/pipeline/rte_swx_pipeline.c
lib/pipeline/rte_swx_pipeline_internal.h