numam-dpdk/app/test-pmd
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
..
5tswap.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
bpf_cmd.c eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
bpf_cmd.h build: replace use of old build macros 2020-10-19 22:15:44 +02:00
cmd_flex_item.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
cmdline_flow.c ethdev: add structure for indirect flow age update 2022-10-28 12:41:03 +02:00
cmdline_mtr.c ethdev: add protocol parameter to color table update 2022-10-03 13:43:53 +02:00
cmdline_mtr.h app/testpmd: support different input color method 2022-06-24 14:42:16 +02:00
cmdline_tm.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
cmdline_tm.h app/testpmd: add TM command for non-leaf and packet mode 2020-09-18 18:55:10 +02:00
cmdline.c app/testpmd: fix MAC header in checksum forward engine 2022-11-06 10:48:08 +01:00
config.c app/testpmd: fix flow list with async flow API 2022-11-10 07:52:00 +01:00
csumonly.c app/testpmd: fix MAC header in checksum forward engine 2022-11-06 10:48:08 +01:00
flowgen.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
icmpecho.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
ieee1588fwd.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
iofwd.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
macfwd.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
macswap_common.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
macswap_neon.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
macswap_sse.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
macswap.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
macswap.h net: rename Ethernet header fields 2021-10-08 14:58:11 +02:00
meson.build net/ixgbe: move bypass init in a testpmd command 2022-08-25 13:37:56 +02:00
noisy_vnf.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
parameters.c app/testpmd: remove unused parameter in Rx header split 2022-10-17 10:34:03 +02:00
rxonly.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
shared_rxq_fwd.c app/testpmd: do not poll stopped queues 2022-05-25 17:25:22 +02:00
testpmd.c app/testpmd: make quit flag volatile 2022-11-10 07:40:22 +01:00
testpmd.h app/testpmd: fix flow list with async flow API 2022-11-10 07:52:00 +01:00
txonly.c app/testpmd: drop PCI register commands 2022-09-23 16:14:33 +02:00
util.c app/testpmd: fix flow transfer proxy port handling 2021-11-17 11:26:27 +01:00