From: Wenzhuo Lu Date: Thu, 24 Mar 2016 15:22:02 +0000 (+0000) Subject: ixgbe: fix Tx queue number X-Git-Tag: spdx-start~7173 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c2b96070527380d9b1bb3d9994324f82b5b37cf8;p=dpdk.git ixgbe: fix Tx queue number Internal variable containing the number of TX queues for a device, was being incorrectly assigned the number of RX queues, instead of TX. Fixes: 27b609cbd1c6 ("ethdev: move the multi-queue mode check to specific drivers") Signed-off-by: Wenzhuo Lu Acked-by: John McNamara --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 6ce4111ff2..0d5a4e8d05 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -1865,7 +1865,7 @@ ixgbe_check_mq_mode(struct rte_eth_dev *dev) { struct rte_eth_conf *dev_conf = &dev->data->dev_conf; uint16_t nb_rx_q = dev->data->nb_rx_queues; - uint16_t nb_tx_q = dev->data->nb_rx_queues; + uint16_t nb_tx_q = dev->data->nb_tx_queues; if (RTE_ETH_DEV_SRIOV(dev).active != 0) { /* check multi-queue mode */