app/testpmd: use per-core variable in flowgen
authorZhihong Wang <wangzhihong.wzh@bytedance.com>
Fri, 13 Aug 2021 08:05:48 +0000 (16:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 24 Aug 2021 16:54:18 +0000 (18:54 +0200)
commit08d4d507df0da15aeaa567ea60511caeb9717eea
tree9135aaa648f22810ca0eb179d888c5761f929373
parentfb15afa295af939a7c9143a8641ac29a338409f1
app/testpmd: use per-core variable in flowgen

Use per-core variable for flow indexing to solve cache contention in
multi-core scenarios.

Signed-off-by: Zhihong Wang <wangzhihong.wzh@bytedance.com>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
app/test-pmd/flowgen.c