]> git.droids-corp.org - dpdk.git/commit
pipeline: support packet recirculation
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Wed, 6 Apr 2022 18:55:34 +0000 (19:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 1 Jun 2022 13:04:34 +0000 (15:04 +0200)
commit5ec76d29dc6f9d3653719ae1c0ce3db6766af93b
tree64e781a44a197e876d7f81e60fe68617a1d08425
parent5e54e2e0043cf757ab6f47542c93eaeebd841d5b
pipeline: support packet recirculation

Add support for packet recirculation. The current packet is flagged
for recirculation using the new "recirculate" instruction; on TX, this
flag causes the packet to execute the full pipeline again as if it was
a new packet, except the packet meta-data is preserved. The new
"recircid" instruction can be used to read the pass number in case the
packet goes several times through the pipeline.

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