From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rnd-relay.smtp.broadcom.com (rnd-relay.smtp.broadcom.com [192.19.229.170]) by dpdk.org (Postfix) with ESMTP id 9091E1B35D; Fri, 26 Jan 2018 18:34:00 +0100 (CET) Received: from nis-sj1-27.broadcom.com (nis-sj1-27.lvn.broadcom.net [10.75.144.136]) by rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id 51A4B30C02D; Fri, 26 Jan 2018 09:33:59 -0800 (PST) Received: from C02VPB22HTD6.vpn.broadcom.net (unknown [10.10.117.193]) by nis-sj1-27.broadcom.com (Postfix) with ESMTP id 99F51AC0782; Fri, 26 Jan 2018 09:33:58 -0800 (PST) From: Ajit Khaparde To: dev@dpdk.org Cc: ferruh.yigit@intel.com, stable@dpdk.org Date: Fri, 26 Jan 2018 09:32:00 -0800 Message-Id: <20180126173200.14458-8-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.14.3 (Apple Git-98) In-Reply-To: <20180126173200.14458-1-ajit.khaparde@broadcom.com> References: <20180126173200.14458-1-ajit.khaparde@broadcom.com> Subject: [dpdk-dev] [PATCH v3 7/7] net/bnxt: fix number of pools for RSS X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2018 17:34:01 -0000 While using RSS, the pool count should be 1. Fixes: 8103a57ab432a ("net/bnxt: handle Rx multi queue creation properly") Cc: stable@dpdk.org Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_rxq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_rxq.c b/drivers/net/bnxt/bnxt_rxq.c index 16304865d..d49f35462 100644 --- a/drivers/net/bnxt/bnxt_rxq.c +++ b/drivers/net/bnxt/bnxt_rxq.c @@ -118,7 +118,7 @@ int bnxt_mq_rx_configure(struct bnxt *bp) pools = max_pools; break; case ETH_MQ_RX_RSS: - pools = bp->rx_cp_nr_rings; + pools = 1; break; default: PMD_DRV_LOG(ERR, "Unsupported mq_mod %d\n", -- 2.14.3 (Apple Git-98)