pipeline: support variable size headers
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Tue, 27 Jul 2021 17:43:37 +0000 (18:43 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 27 Sep 2021 07:14:45 +0000 (09:14 +0200)
commitcef3896928b7de97aa1a74f20fada796996a68d9
tree1c39b8e1b4b4257110965d7b3cac40b8d4c6d434
parent5f3e6104227c13dad23ad0de12b05de924bd25aa
pipeline: support variable size headers

Added support for variable size headers. The last field of a struct
type can now have a variable size between 0 and N bytes. Useful to
accommodate IPv4 packets with options, etc.

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