[dpdk-dev] [PATCH] app/testpmd: configurable number of flows in flowgen

Ferruh Yigit ferruh.yigit at intel.com
Tue Aug 31 17:14:51 CEST 2021


On 8/23/2021 12:08 PM, Li, Xiaoyun wrote:
> Hi
> 
>> -----Original Message-----
>> From: Zhihong Wang <wangzhihong.wzh at bytedance.com>
>> Sent: Thursday, August 19, 2021 20:36
>> To: dev at dpdk.org; Yigit, Ferruh <ferruh.yigit at intel.com>; Li, Xiaoyun
>> <xiaoyun.li at intel.com>; Singh, Aman Deep <aman.deep.singh at intel.com>;
>> irusskikh at marvell.com; cchemparathy at tilera.com
>> Cc: Zhihong Wang <wangzhihong.wzh at bytedance.com>
>> Subject: [PATCH] app/testpmd: configurable number of flows in flowgen
>>
>> Make number of flows in flowgen configurable by setting parameter --flowgen-
>> flows=N.
>>
>> Signed-off-by: Zhihong Wang <wangzhihong.wzh at bytedance.com>
>> ---
>> Depends-on: series-18277 ("app/testpmd: flowgen fixes and improvements")
>>
>>  app/test-pmd/flowgen.c                | 22 ++++++++++++++--------
>>  app/test-pmd/parameters.c             | 10 ++++++++++
>>  app/test-pmd/testpmd.c                |  1 +
>>  app/test-pmd/testpmd.h                |  1 +
>>  doc/guides/testpmd_app_ug/run_app.rst |  5 +++++
>>  5 files changed, 31 insertions(+), 8 deletions(-)
>>
> Acked-by: Xiaoyun Li <xiaoyun.li at intel.com>
> 

A few minor changes done while merging,
- spaces added to the log to align it with rest of the log, also abbreviations
converted to full word, it become:
printf("  number of flows for port %u: %d\n", pi, nb_flows_flowgen);
- 2147483647 replaced with INT32_MAX

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


More information about the dev mailing list