12da1deb89
Tx_q check fails when the SRIOV is active and tx_q > rx_q. It has to use the maximum HW queue number for calculation, to get the right number of queue can be used. Fixes: 27b609cbd1c6 ("ethdev: move the multi-queue mode check to specific drivers") Cc: stable@dpdk.org Signed-off-by: Yanglong Wu <yanglong.wu@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>