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

Ferruh Yigit ferruh.yigit at amd.com
Mon Jul 10 12:11:05 CEST 2023


On 7/10/2023 8:39 AM, Ori Kam wrote:
> 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>
> 

Applied to dpdk-next-net/main, thanks.


More information about the stable mailing list