Re: [dpdk-dev] [PATCH v12 6/7] app/testpmd: force shared Rx queue polled on same core
From: Li, Xiaoyun <hidden>
Date: 2021-10-21 06:35:29
From: Li, Xiaoyun <hidden>
Date: 2021-10-21 06:35:29
-----Original Message----- From: Xueming Li <redacted> Sent: Thursday, October 21, 2021 13:09 To: dev@dpdk.org; Zhang, Yuying <redacted>; Li, Xiaoyun [off-list ref] Cc: xuemingl@nvidia.com; Jerin Jacob <redacted>; Yigit, Ferruh [off-list ref]; Andrew Rybchenko [off-list ref]; Viacheslav Ovsiienko [off-list ref]; Thomas Monjalon [off-list ref]; Lior Margalit [off-list ref]; Ananyev, Konstantin [off-list ref]; Ajit Khaparde [off-list ref] Subject: [PATCH v12 6/7] app/testpmd: force shared Rx queue polled on same core Shared Rx queue must be polled on same core. This patch checks and stops forwarding if shared RxQ being scheduled on multiple cores. It's suggested to use same number of Rx queues and polling cores. Signed-off-by: Xueming Li <redacted> --- app/test-pmd/config.c | 105 +++++++++++++++++++++++++++++++++++++++++ app/test-pmd/testpmd.c | 5 +- app/test-pmd/testpmd.h | 2 + 3 files changed, 111 insertions(+), 1 deletion(-)
Acked-by: Xiaoyun Li <redacted>