app/testpmd: add parameter for shared Rx queue
authorXueming Li <xuemingl@nvidia.com>
Thu, 21 Oct 2021 10:41:39 +0000 (18:41 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 21 Oct 2021 22:09:07 +0000 (00:09 +0200)
commitf4d178c13be92804d75e3590b81748335d331530
tree8f12d3eb3fec39c5c2ecc2536316152d9f0b4987
parent0bacfaa0c7b174aaa26f33ab633837b400b57196
app/testpmd: add parameter for shared Rx queue

Adds "--rxq-share=X" parameter to enable shared RxQ.

Rx queue is shared if device supports, otherwise fallback to standard
RxQ.

Shared Rx queues are grouped per X ports. X defaults to UINT32_MAX,
implies all ports join share group 1. Queue ID is mapped equally with
shared Rx queue ID.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
app/test-pmd/config.c
app/test-pmd/parameters.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
doc/guides/testpmd_app_ug/run_app.rst