pipeline: add drop instruction to SWX
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 26 Mar 2021 22:11:08 +0000 (22:11 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 20 Apr 2021 00:24:36 +0000 (02:24 +0200)
commitfe16d678e7683458b35dc227b58a76419b8ece45
tree08b7a22797945d16a41e728eaa6c7efa1bd10e01
parentea5ab65f57434691eaa9f63974065e38a3bde87c
pipeline: add drop instruction to SWX

Enabled the TX instruction to accept an immediate value for the output
port argument. The drop instruction is simply an alias to the TX
instruction for the last output port of the pipeline.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/pipeline/examples/vxlan.spec
lib/librte_pipeline/rte_swx_pipeline.c