pipeline: add variable size headers extract instruction
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Tue, 27 Jul 2021 17:43:38 +0000 (18:43 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 27 Sep 2021 07:14:56 +0000 (09:14 +0200)
commit5972f82936752b3eaf625ef1ca3051b48b4e7a0f
tree6e7d9587b9f1cce968dedb0f6e72a89085ae6583
parentcef3896928b7de97aa1a74f20fada796996a68d9
pipeline: add variable size headers extract instruction

Added a mechanism to extract variable size headers through a special
flavor of the extract instruction. The length of the last struct field
which has variable size is passed as argument to the instruction.

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