From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 1429B1B1B4 for ; Wed, 24 Jan 2018 16:38:32 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BFDD222374; Wed, 24 Jan 2018 10:38:31 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:38:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ic8nzarxXHPFX7bzE dozW6K2BlS7+GoCcfwcZ1zaIko=; b=RUWDftZJ6i/VuRdWVh2mB7n3DxClo1SWi zBsDBDEXO+TohfXMZHz5693RZhofNfmIgQp1DMtAXKFf/t70LK+6T80DfshTQNQ5 lz0eeYhm46Q3YQjYI7si3SUQyUtGez/KxCvDAO4B+4pDDhQ4t33S/2uCZN1Ar52C vXDeNUe94D9V7JUUk7haXx5gyKjdMHkdxWvzqdwbzKmOSE+ilw/HOfJg+eW9Sa0V RWsXRH0/BhrYHucBHgxyavFHIMYgoFHnbxuGbkSNmJI5rR8h5l9D/i5oR93f4OpD gdjfQcyYn//7QlTkmaXTHGzs1z1NxfrfqXz6R0PvzTo7sPUUgL0rA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=ic8nzarxXHPFX7bzEdozW6K2BlS7+GoCcfwcZ1zaIko=; b=OADsfgD/ SRBFIpCyEPOJY4bFVY5oWNpIs48Er6I56aClt367s65yC6jSJVudyyZhEP39NC9P ZzsJTiGzsdP8Itjajd4sHMkQWaNDBax3X0q5lbz5ZBhYpK4Gm0Mr9leW4cRkU9ie wNESA7lCMEjl6opF+Sa+ShaF5lfD+bSNPkJpcUnzWmBngXj/OkwLHA7hb7RRzsjI c4JupAtAJ36DNvRYmN5Ua2eBdNAKu7FzIVR5KQ8r6LO40kNs+8CHxyrUKq4QtjEl nQGXCHOZkWjdzW/s8Sh1o0xX93x7iVpRrjcIjTDY1jjkjZ0176x66sX2+u97hGqv 7Ba9tevMuvbdoA== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id A61787E3D4; Wed, 24 Jan 2018 10:38:29 -0500 (EST) From: Yuanhan Liu To: Yangchao Zhou Cc: Wei Dai , dpdk stable Date: Wed, 24 Jan 2018 23:32:08 +0800 Message-Id: <1516808026-25523-60-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/igb: fix Tx queue number assignment' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:38:32 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 2b59636521ff565ccb53fdb194c222859278c0f9 Mon Sep 17 00:00:00 2001 From: Yangchao Zhou Date: Wed, 29 Nov 2017 10:50:12 +0800 Subject: [PATCH] net/igb: fix Tx queue number assignment [ upstream commit e761a104d22947424c2541c6a255a39b3705326e ] 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: Yangchao Zhou Acked-by: Wei Dai --- drivers/net/e1000/igb_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index fdc139f..a600fba 100644 --- a/drivers/net/e1000/igb_ethdev.c +++ b/drivers/net/e1000/igb_ethdev.c @@ -1212,7 +1212,7 @@ igb_check_mq_mode(struct rte_eth_dev *dev) enum rte_eth_rx_mq_mode rx_mq_mode = dev->data->dev_conf.rxmode.mq_mode; enum rte_eth_tx_mq_mode tx_mq_mode = dev->data->dev_conf.txmode.mq_mode; 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 ((rx_mq_mode & ETH_MQ_RX_DCB_FLAG) || tx_mq_mode == ETH_MQ_TX_DCB || -- 2.7.4