From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7C9A9A0C46; Tue, 31 Aug 2021 11:12:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0717E40141; Tue, 31 Aug 2021 11:12:00 +0200 (CEST) Received: from mail-m973.mail.163.com (mail-m973.mail.163.com [123.126.97.3]) by mails.dpdk.org (Postfix) with ESMTP id BF97040041; Tue, 31 Aug 2021 11:11:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=guRsm t110RjJe1bg4vD4S3KXwb/I/YCfgEGK155wKbA=; b=XNFdq3WgZKItW2Ac87XtM Q5fO1PsUU7ncfRYo/v3oRuC0q9WQ13lf8zA8uAInkPxXJ1OeOUiy5XRQuDnFdTT9 /uoTuiHeMGTHunoIahKKcywyw0Q6sFA1fY8/f1miyyFDT1KpksaROQLHL11Vs3Xw 3Y3myS4545SurLtjaYkTfM= Received: from localhost.localdomain (unknown [124.160.214.152]) by smtp3 (Coremail) with SMTP id G9xpCgCnTLFZ8i1hWfXxEw--.32489S2; Tue, 31 Aug 2021 17:11:56 +0800 (CST) From: Qiming Chen To: dev@dpdk.org Cc: haiyue.wang@intel.com, Qiming Chen , stable@dpdk.org Date: Tue, 31 Aug 2021 17:11:11 +0800 Message-Id: <20210831091111.6879-1-chenqiming_huawei@163.com> X-Mailer: git-send-email 2.30.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: G9xpCgCnTLFZ8i1hWfXxEw--.32489S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtr1kAw4xZF4UWF4fWr17Wrg_yoWkXFg_GF yIvanrK345Cr10grsxtrWUXFWv9F4jqa1fZw4ag345A34UJrs5K3s3Ary7Zr4UCws29FZx Ar17CrWSgay7KjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUnk9N3UUUUU== X-Originating-IP: [124.160.214.152] X-CM-SenderInfo: xfkh01xlpl0w5bkxt4lhl6il2tof0z/1tbiQAYAoFSIj8CT6gAAsM Subject: [dpdk-dev] [PATCH] net/ixgbe: fix rss max rxtx queue num X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Through the local actual test, it is found that the maximum number of RSS queues is 16, not 128. Check the chip manual, the register MRQE has the following description: RSS only-Single set of RSS 16 queues. It also coincides with the actual test value. Fixes: abf7275bbaa2 ("ixgbe: move to drivers/net/") Cc: stable@dpdk.org Signed-off-by: Qiming Chen --- drivers/net/ixgbe/base/ixgbe_82599.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/base/ixgbe_82599.c b/drivers/net/ixgbe/base/ixgbe_82599.c index 69fd4cd3fb..edd63018d1 100644 --- a/drivers/net/ixgbe/base/ixgbe_82599.c +++ b/drivers/net/ixgbe/base/ixgbe_82599.c @@ -8,8 +8,8 @@ #include "ixgbe_common.h" #include "ixgbe_phy.h" -#define IXGBE_82599_MAX_TX_QUEUES 128 -#define IXGBE_82599_MAX_RX_QUEUES 128 +#define IXGBE_82599_MAX_TX_QUEUES 16 +#define IXGBE_82599_MAX_RX_QUEUES 16 #define IXGBE_82599_RAR_ENTRIES 128 #define IXGBE_82599_MC_TBL_SIZE 128 #define IXGBE_82599_VFT_TBL_SIZE 128 -- 2.30.1.windows.1