pipeline: validate header on SWX emit
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 26 Mar 2021 20:29:35 +0000 (20:29 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 20 Apr 2021 00:31:21 +0000 (02:31 +0200)
commit6b840b7c53ddd1eafdd974b46436c471a90ee55d
tree7721f305c6563228c4048f83a0443b64b46cf096
parent742b0a57f50e4b7442b22e321c98aa187edb7103
pipeline: validate header on SWX emit

Enhance the behavior of the emit instruction to ignore invalid
headers, as mandated by the P4 language specification.

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