Re: [dpdk-dev] [PATCH] app/testpmd: configurable number of flows in flowgen
From: Ferruh Yigit <hidden>
Date: 2021-08-31 15:15:18
On 8/23/2021 12:08 PM, Li, Xiaoyun wrote:
Hiquoted
-----Original Message----- From: Zhihong Wang <redacted> Sent: Thursday, August 19, 2021 20:36 To: dev@dpdk.org; Yigit, Ferruh <redacted>; Li, Xiaoyun [off-list ref]; Singh, Aman Deep [off-list ref]; irusskikh@marvell.com; cchemparathy@tilera.com Cc: Zhihong Wang <redacted> 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 <redacted> --- 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 <redacted>
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.