[PATCH] app/testpmd: warn on shared rxq switch mismatch

Stephen Hemminger stephen at networkplumber.org
Mon Mar 23 17:17:25 CET 2026


On Tue, 25 Nov 2025 11:22:07 +0100
a.schollmeyer at syseleven.de wrote:

> From: Adrian Schollmeyer <a.schollmeyer at syseleven.de>
> 
> Shared Rx queues do not work with every combination of ports. Besides
> requiring the corresponding device capability, shared Rx queues also
> require all ports of one share group and queue ID have the same switch
> domain and Rx domain. When these fields do not match, shared Rx queues
> are not properly set up and queue sharing may fail silently. This can
> happen even in some less intuitive cases like multiple VFs of one
> physical NIC.
> 
> To make debugging issues with shared Rx queue configuration easier, this
> commit introduces simple checks and warning messages for all members of
> a share_group and share_qid to warn whenever there is a mismatch in the
> switch and Rx domain.
> 
> Signed-off-by: Adrian Schollmeyer <a.schollmeyer at syseleven.de>
> ---

Why is this not handled at ethdev or device level?

Testpmd is just a test program. Real applications might make same mistake.


More information about the dev mailing list