numam-dpdk/app
Gregory Etelson 849e6ddc6a app/testpmd: fix tunnel offload validation
Tunnel offload API allows application to restore packet to
its original form if chain of flows missed after DECAP action.
The main idea of the tunnel offload API was to query port PMD
to provide flow elements - actions or items.
Flow elements supplied by PMD are merged with original flow rule
elements provided by testpmd operator to create a new flow rule,
optimal for PMD, to implement the tunnel offload API.
That flow rule transformation is hidden form testpmd operator and uses
internal testpmd resources.

Current testpmd did not release tunnel offload resources if flow rule
validation failed.

The patch always releases tunnel offload resources after flow rule
validation returns.

Fixes: 1b9f274623 ("app/testpmd: add commands for tunnel offload")
Cc: stable@dpdk.org

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Reviewed-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Aman Singh <aman.deep.singh@intel.com>
2021-11-17 13:12:56 +01:00
..
dumpcap build: cleanup libpcap dependent components 2021-11-10 11:42:34 +01:00
pdump devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
proc-info build: make metrics libraries optional 2021-11-17 12:48:33 +01:00
test build: make pdump optional 2021-11-17 12:49:19 +01:00
test-acl devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-bbdev app/bbdev: use compiler atomics for shared data sync 2021-11-17 11:07:06 +01:00
test-cmdline devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-compress-perf app/compress: use compiler atomic builtins for display sync 2021-11-17 11:07:06 +01:00
test-crypto-perf app/crypto: use compiler atomic builtins for display sync 2021-11-17 11:07:06 +01:00
test-eventdev app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test-fib fib: add RIB extension size parameter 2021-11-04 12:38:03 +01:00
test-flow-perf app/flow-perf: fix parsing of invalid option 2021-11-17 10:47:55 +01:00
test-gpudev app/gpudev: improve output 2021-11-16 21:04:33 +01:00
test-pipeline app: remove unneeded atomic header include 2021-11-17 11:07:06 +01:00
test-pmd app/testpmd: fix tunnel offload validation 2021-11-17 13:12:56 +01:00
test-regex devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-sad devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
meson.build build: make pdump optional 2021-11-17 12:49:19 +01:00