app/testpmd: force shared Rx queue polled on same core
authorXueming Li <xuemingl@nvidia.com>
Thu, 21 Oct 2021 10:41:41 +0000 (18:41 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 21 Oct 2021 22:09:15 +0000 (00:09 +0200)
commit65744833651199c3bb3b996c6f0f9fe87b42c770
treeb2083d1fddc4ab58ca18708131c1c09023ac681d
parent7fbf4a02eb03ed8ad38bb50cd1e932873d059279
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 <xuemingl@nvidia.com>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
app/test-pmd/config.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h