]> git.droids-corp.org - dpdk.git/commit
pipeline: fix annotation checks
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 3 Dec 2021 14:31:04 +0000 (14:31 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 13 Feb 2022 21:31:05 +0000 (22:31 +0100)
commit8f8f6c14489ff78c6a4050a5001413b96ca32554
tree18dc889e55a6ad08a4c48c599bfba3b054cb88cd
parentdbce95e363392f0699a9a38c49d78d132511b9b8
pipeline: fix annotation checks

The checks for the table-only and default-only annotations were
incorrect, as they were using the pipeline action ID instead of the
table action ID for retrieving the table action info. These checks are
now corrected and pushed into the internal table_entry_check()
function.

Fixes: cd79e0205824 ("pipeline: support action annotations")
Cc: stable@dpdk.org
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
lib/pipeline/rte_swx_ctl.c