ixgbe: add more information to multiqueue error message
Add the nb_rx_q and nb_tx_q values to the error message
to give details about the error.
Fixes: 27b609cbd1
("ethdev: move the multi-queue mode check to specific drivers")
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
This commit is contained in:
parent
c961566c82
commit
726ced2015
@ -1917,7 +1917,9 @@ ixgbe_check_mq_mode(struct rte_eth_dev *dev)
|
||||
if ((nb_rx_q > RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool) ||
|
||||
(nb_tx_q > RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool)) {
|
||||
PMD_INIT_LOG(ERR, "SRIOV is active,"
|
||||
" queue number must less equal to %d.",
|
||||
" nb_rx_q=%d nb_tx_q=%d queue number"
|
||||
" must be less than or equal to %d.",
|
||||
nb_rx_q, nb_tx_q,
|
||||
RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user