numam-dpdk/app
Alexander Kozyrev f4f7ba1ad2 app/testpmd: fix flow list with async flow API
Flows created with the new asynchronous flow API lack attributes
(direction, priority, group number). These attributes are part of
a template table for flows created via rte_flow_async_create().

When testpmd tries to list all the flows it accesses flow
attributes via pointer and crashes. Save flow attributes during
the template table creation and use them in the "flow list" output.

Fixes: ecdc927b99 ("app/testpmd: add async flow create/destroy operations")
Cc: stable@dpdk.org

Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2022-11-10 07:52:00 +01:00
..
dumpcap app/dumpcap: add file-prefix option 2022-10-21 15:13:25 +02:00
pdump app/pdump: free mempool at resources cleanup 2022-03-08 00:19:31 +01:00
proc-info dev: introduce device accessors 2022-09-23 16:14:34 +02:00
test test/crypto: support UADK PMD 2022-10-29 13:01:41 +02:00
test-acl app/acl: support different formats for IPv6 address 2022-05-30 23:31:37 +02:00
test-bbdev test/bbdev: add FFT operations cases 2022-10-29 13:01:41 +02:00
test-cmdline devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-compress-perf bus: move IOVA definition from header 2022-09-23 16:14:34 +02:00
test-crypto-perf test/crypto-perf: fix number of scheduler sessions 2022-10-29 13:01:41 +02:00
test-eventdev ethdev: remove Rx header split port offload 2022-10-04 11:20:04 +02:00
test-fib eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
test-flow-perf app/flow-perf: add hairpin queue memory config 2022-10-08 18:30:50 +02:00
test-gpudev gpudev: use CPU mapping in communication list 2022-02-22 20:08:52 +01:00
test-pipeline ethdev: remove Rx header split port offload 2022-10-04 11:20:04 +02:00
test-pmd app/testpmd: fix flow list with async flow API 2022-11-10 07:52:00 +01:00
test-regex app/regex: add match mode option 2022-10-09 15:11:58 +02:00
test-sad eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
meson.build build: select applications to build 2022-10-28 14:27:48 +02:00