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

2023-07-10 Thread Ferruh Yigit
On 7/10/2023 8:39 AM, Ori Kam wrote: > Hi Bing > >> -Original Message- >> From: Bing Zhao >> 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

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

2023-07-10 Thread Ori Kam
Hi Bing > -Original Message- > From: Bing Zhao > 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" i

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

2023-06-30 Thread Bing Zhao
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, th