[PATCH] app/testpmd: fix the rule number parsing

Ori Kam orika at nvidia.com
Mon Jul 10 09:39:12 CEST 2023


Hi Bing

> -----Original Message-----
> From: Bing Zhao <bingz at nvidia.com>
> Sent: Friday, June 30, 2023 4:30 PM
> 
> When creating a template table, the object pointer of the
> command line "struct context" was set with an offset from the
> original out buffer if there is a template ID.
> 
> If the "rules_number" is specified after the template IDs, it
> couldn't be set and passed to the API correctly. With this commit,
> the pointer is reset before pasring the "rules_number" field.
> 
> Fixes: c4b38873346b ("app/testpmd: add flow table management")
> Cc: akozyrev at nvidia.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Bing Zhao <bingz at nvidia.com>
> ---

Acked-by: Ori Kam <orika at nvidia.com>
Best,
Ori


More information about the stable mailing list