From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 2A4212952 for ; Wed, 2 Nov 2016 11:21:01 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP; 02 Nov 2016 03:21:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,583,1473145200"; d="scan'208";a="26465667" Received: from yliu-dev.sh.intel.com ([10.239.67.162]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2016 03:20:59 -0700 From: Yuanhan Liu To: Rasesh Mody Date: Wed, 2 Nov 2016 18:21:10 +0800 Message-Id: <1478082097-16957-14-git-send-email-yuanhan.liu@linux.intel.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1478082097-16957-1-git-send-email-yuanhan.liu@linux.intel.com> References: <1478082097-16957-1-git-send-email-yuanhan.liu@linux.intel.com> Cc: Chas Williams <3chas3@gmail.com>, dpdk stable Subject: [dpdk-stable] patch 'net/bnx2x: fix maximum PF queues' has been queued to stable release 16.07.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2016 10:21:01 -0000 Hi, FYI, your patch has been queued to stable release 16.07.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 11/06/16. So please shout if anyone has objections. Thanks. --yliu --- >>From 2dba9ba2c00e8a5fcb1fae8b2fa4ae791afe1ab7 Mon Sep 17 00:00:00 2001 From: Rasesh Mody Date: Wed, 5 Oct 2016 22:36:36 -0700 Subject: [PATCH] net/bnx2x: fix maximum PF queues [ upstream commit 6b90d52a259272eb2dd062be308ca71054e01952 ] Fix the max number of PF rx/tx queues. Set the value based on BNX2X_MAX_RSS_COUNT() rather than hard coding it to 128. Fixes: 540a211084a7 ("bnx2x: driver core") Signed-off-by: Rasesh Mody Acked-by: Chas Williams <3chas3@gmail.com> --- drivers/net/bnx2x/bnx2x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index a49a07f..2bb4a84 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.c @@ -9556,8 +9556,8 @@ static void bnx2x_init_rte(struct bnx2x_softc *sc) sc->max_rx_queues = min(BNX2X_VF_MAX_QUEUES_PER_VF, sc->igu_sb_cnt); } else { - sc->max_tx_queues = 128; - sc->max_rx_queues = 128; + sc->max_rx_queues = BNX2X_MAX_RSS_COUNT(sc); + sc->max_tx_queues = sc->max_rx_queues; } } -- 1.9.0