Re: [dpdk-dev] [PATCH v4 4/4] app/testpmd: use per-core variable in flowgen

2021-08-12 Thread Li, Xiaoyun
> -Original Message- > From: Zhihong Wang > Sent: Thursday, August 12, 2021 21:19 > To: dev@dpdk.org; Yigit, Ferruh ; Li, Xiaoyun > ; Singh, Aman Deep ; > irussk...@marvell.com; cchempara...@tilera.com > Cc: Zhihong Wang > Subject: [PATCH v4 4/4] app/testpmd: use per-core variable in fl

[dpdk-dev] [PATCH v4 4/4] app/testpmd: use per-core variable in flowgen

2021-08-12 Thread Zhihong Wang
Use per-core variable for flow indexing to solve cache contention in multi-core scenarios. v4: use loop local variable to improve performance Signed-off-by: Zhihong Wang --- app/test-pmd/flowgen.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/flowgen.c b/