From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 3339C2C8 for ; Wed, 23 May 2018 14:11:27 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id t11-v6so8383273wmt.0 for ; Wed, 23 May 2018 05:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=h267wfZDJBbW/x34n5MUtWL9pQlP9Br76SRZIkK2GRM=; b=lmAfUFPIOqMU4gbfAGXWD6XV6snNKuH19XkGCnYAgShYym30YoK+6GSkzmvmeg1a6Q wsUWFRA/ULPp4ymtvwAnu2JSOHBvxYQ9ch4U3TOuXxni8JtF+ci1lc3k3Mdxsx6jGrs/ 8Czo30lW+a0H2PUzsXPBrIanuD60TGrwlhJQc6OAigL4a2aQIT/+/KpxzwtV+0/3zyMG DyUW3MU14Os3QxRvP1s4Pt0idXTfffBvIoFsIcLikc6JqjTTQMShYh1yFgrX99UCL04o sacBB7kQgjHkg4/Y9q9jv9zJlxq4aQM5ir8m5ahijw8jSLqpOk/TsOGnZArCHHKidQCW Cseg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=h267wfZDJBbW/x34n5MUtWL9pQlP9Br76SRZIkK2GRM=; b=kTgwdx138SwZ0u9pAzXcV54HQjkrSMjzFwP+mv0gtHagQDs3eok9LrxcjI8D3q4ITL CC6ippPlJDdb9gA6Hq0dzg0nZxMCumwPVFk9wGX07XWjsxV8YScMt/TtCMZrnfxtBv/E j/0x1bVHAN/2fVqRpPICf4j51YeqpXZ1fpyi3A06NqnqPWOs1ckG5QRQ0j2f+KXcq+Ts md5g+w9HfblObR7LqFc1S1NJLd1ntVbIAvufsuSNvfcJdZdOPitwDdKb2bO/BLYi3mT7 39UX/tUrpLynf5xgCMaEwz+0bOE7/6zUGfK9ruhA7FvEptdXdiiG7AeSKxz8tiDKuIsq M/Gg== X-Gm-Message-State: ALKqPwfqrcyq93CyL3aFW53xOGHrhFcXNf97gl/asrIUXNm3q5WOS8Ic li0j86ywIfaKlopXr77EfHa/2/4nvVU= X-Google-Smtp-Source: AB8JxZrdLSqd8DhGfl6OGjg3bQSRtmxdmgJLXOCPK3Bkz/ggGQffWGABP5coG1v8GEfRAouMuZZk+w== X-Received: by 2002:a1c:d53:: with SMTP id 80-v6mr4510924wmn.138.1527077486912; Wed, 23 May 2018 05:11:26 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id x63-v6sm3552475wma.25.2018.05.23.05.11.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 05:11:26 -0700 (PDT) From: luca.boccassi@gmail.com To: Qiming Yang Cc: Wenzhuo Lu , dpdk stable Date: Wed, 23 May 2018 13:09:55 +0100 Message-Id: <20180523121010.8385-44-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180523121010.8385-1-luca.boccassi@gmail.com> References: <20180516101323.2234-2-luca.boccassi@gmail.com> <20180523121010.8385-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/ixgbe: fix DCB configuration' has been queued to stable release 18.02.2 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, 23 May 2018 12:11:27 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/25/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 6fd5f6a119c01b0ed4fbd903fe71654e9989513a Mon Sep 17 00:00:00 2001 From: Qiming Yang Date: Fri, 18 May 2018 17:51:56 +0800 Subject: [PATCH] net/ixgbe: fix DCB configuration [ upstream commit 3e8d16a0fbb3c9f33b9611e8e1644683e9ece23d ] This patch removes unnecessary check in ixgbe_check_mq_mode, which fixes the DCB configuration issue. Fixes: 27b609cbd1c6 ("ethdev: move the multi-queue mode check to specific drivers") Signed-off-by: Qiming Yang Acked-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index ad8b4fcc8..bdb553add 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -2303,11 +2303,6 @@ ixgbe_check_mq_mode(struct rte_eth_dev *dev) if (dev_conf->rxmode.mq_mode == ETH_MQ_RX_DCB) { const struct rte_eth_dcb_rx_conf *conf; - if (nb_rx_q != IXGBE_DCB_NB_QUEUES) { - PMD_INIT_LOG(ERR, "DCB selected, nb_rx_q != %d.", - IXGBE_DCB_NB_QUEUES); - return -EINVAL; - } conf = &dev_conf->rx_adv_conf.dcb_rx_conf; if (!(conf->nb_tcs == ETH_4_TCS || conf->nb_tcs == ETH_8_TCS)) { @@ -2321,11 +2316,6 @@ ixgbe_check_mq_mode(struct rte_eth_dev *dev) if (dev_conf->txmode.mq_mode == ETH_MQ_TX_DCB) { const struct rte_eth_dcb_tx_conf *conf; - if (nb_tx_q != IXGBE_DCB_NB_QUEUES) { - PMD_INIT_LOG(ERR, "DCB, nb_tx_q != %d.", - IXGBE_DCB_NB_QUEUES); - return -EINVAL; - } conf = &dev_conf->tx_adv_conf.dcb_tx_conf; if (!(conf->nb_tcs == ETH_4_TCS || conf->nb_tcs == ETH_8_TCS)) { -- 2.14.2