[PATCH] app/testpmd: fix flow list for async flows
Andrew Rybchenko
andrew.rybchenko at oktetlabs.ru
Wed Nov 9 11:43:52 CET 2022
On 11/7/22 16:16, Alexander Kozyrev wrote:
> 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")
>
> Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list