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 9E5CBA0C4D; Mon, 6 Sep 2021 03:32:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30A8E40E32; Mon, 6 Sep 2021 03:32:00 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 7600C40C35; Mon, 6 Sep 2021 03:31:58 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10098"; a="200066578" X-IronPort-AV: E=Sophos;i="5.85,271,1624345200"; d="scan'208";a="200066578" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2021 18:31:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,271,1624345200"; d="scan'208";a="604410752" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga001.fm.intel.com with ESMTP; 05 Sep 2021 18:31:57 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Sun, 5 Sep 2021 18:31:56 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Sun, 5 Sep 2021 18:31:56 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.176) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Sun, 5 Sep 2021 18:31:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ES6NcbrRJxnCLr8Ofe7Epu/xKVeL+YakMkSozKOrP8C6JhIkJtwuUprDPdg739y0z87cuqEpIwypIepo9ZUoqa8kzP3lLsB821sd4cjBfSZ8Ebzn7SDD/I3Dmg6j5eTTz/4ha3Y6D9rna1rVfwKD9sTK3d0SFETHfdRIbSPQGk2bGp7MBiIut8h04jGP1NRxqT8HIUB/wNzOrWwX8hZZRzCLJr9y/Eh4VwZCQkdxqU+UlEUeOFWmC/GV/OH7Vod1kp1Lz5eVMfY951uVTsCvWZV9zkRWtUSZdx7o+qIzTlA+wj8RQ4LY/LH1pUWMha83Pk+F4fLMCh/RHk4Nf4f8eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=A5R4MYp/A9lLF93XsXPVI23bMRS33+OG1AN6qOUntlU=; b=bNt/C3yFt9Wp70MdUjke7aEfmKor5cDcPuc5P7ryrKSaVUfjsU+KdkL+/dO0JxE8DBUV9T0U7OzPTbOdKzeCubXvgLpQ5Hpc2SpEBPuAZVB3by5lCB+pKcIsbP2j6rEqZHBJVWoUL32y4/cItcpcuAmdp7QhV6VvC0o7dfA/Ep/yQRpy1J8d7lRLAgypu7ZpmPnq+2krpLXdfGYVv8uA7TQRmlteAeAO7yqUFogC7iR5u97X9dJCcNYhtFtdJp97HP/KdMIfBKeoUzwMDW5og35Y+tNTAkbNQJUUNMAJyrw16uahD3HGwb/6wOBgvTrWplN0MKuZpxnA5uM7ywLKhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A5R4MYp/A9lLF93XsXPVI23bMRS33+OG1AN6qOUntlU=; b=O80vs3uHbA0wS83Z2ROQLEXsauMgJCicQtp9p+E2ZcxknQVRBRRsVLM55wbEd2qGAwr5aFtDNI8vlQIRWWnWx0vZ7JmnI5sLQGKblHLuB0n+sWi+zdeoNSRaoyR8ooJpKZ5EIYHI1UIQZDLxmcVWvsQRMiVac/7aTqyvAz8HdQ8= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN8PR11MB3635.namprd11.prod.outlook.com (2603:10b6:408:86::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.22; Mon, 6 Sep 2021 01:31:54 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::dcf0:d9f6:8024:1879]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::dcf0:d9f6:8024:1879%6]) with mapi id 15.20.4478.025; Mon, 6 Sep 2021 01:31:53 +0000 From: "Wang, Haiyue" To: Qiming Chen , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH] net/ixgbe: fix rss max rxtx queue num Thread-Index: AQHXnkhHDBbtZLen206WOVj2bFGrKKuWQQbA Date: Mon, 6 Sep 2021 01:31:53 +0000 Message-ID: References: <20210831091111.6879-1-chenqiming_huawei@163.com> In-Reply-To: <20210831091111.6879-1-chenqiming_huawei@163.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.0.76 authentication-results: 163.com; dkim=none (message not signed) header.d=none;163.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e7666055-bf5b-48c7-07fa-08d970d61bb5 x-ms-traffictypediagnostic: BN8PR11MB3635: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2276; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ocaTOTZT7gyWR9g0JAVqUn9X4akldNUnOsaS01QC5DL0EiPW+UlDJcHrzDGiaCIlMJ8SpI1GNhf5jQ5Ty2rb/chcRkZsv1RjlrHPaxC+C8n/YRIfdZYOpuhZh/n4vEyt5PfuAA4NrTYKfRvJaV7K7ufsPjS7Nv9CMsBcCtCRgym8ZuJYjxuZqMHfNlXgeLPRyve+c5P3+aXrc7hBcj9NVdT8KeTQK+msghjVxjkjPxFhhEtBrxSFci9nhInAUnm8mCLs10cE6DETqxKRs1ZGiz9U9gtmjiiZPCdbt5GGDmk4QNkG/ePWbnKrv+XrsIWqWKoluE8JcxkfIDbR0ac62SAlJA3rq5omKdZjR511bBQGC+K5XRSusdUVOyzf0awepVAE7PmLCxj/meAqlUlB1rMaSws8OjrB2RHy4wt9yprWa28gjJNEXYRFZDjjAQoBiZJwRExz1QQPFpfKOreU30up/EHZXxbywCcc6eXH/nlyF0ZS/rfjy2g8gUzjhANEhCaAKCumdGiOri3+2nH7hZ7BUfQpNaVgHAlpzqCjy9FBj/arLPobRg3RYU2aZ6FOm33LEoc1wiCQlQFQBl2ElQS6uRkgsuzQG6manqhz9qBT7lKdq5S4E8ssFnFYuRs9/E/U/no7i/hMjO44C30jCwpNgIcx2GshWcQnoYMdtKGYDuCAMvQ0HS+4a8hGuZcCZvOtKKdQK9Vuv1gCfq/xs7kreHZ/d5ovkmvDJoHvsDgGhwzlIlhJDJ7qu0E6V1TDyV5VXYwUCr9VHOEtHCzPH15ZI7GT3I+rNf+gjDr/TfM= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(136003)(376002)(396003)(366004)(316002)(52536014)(83380400001)(6506007)(76116006)(478600001)(2906002)(55016002)(122000001)(71200400001)(966005)(9686003)(26005)(110136005)(4326008)(33656002)(186003)(8936002)(53546011)(66556008)(5660300002)(66446008)(64756008)(7696005)(86362001)(38070700005)(8676002)(66476007)(38100700002)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?oS6GsUmfRM8wSilQQNxZhhyCGY3p7urvotrsX43zI4nQvzRM9B4zWlv67QTb?= =?us-ascii?Q?Bf0AvN4on/JhiYZxVsvrgLlniPpNPF4ZorwrwDCLcDpLZ3VzRdDoCSReSaro?= =?us-ascii?Q?uEuABHCOtUdzm6VfcBliO159B7f1xGJw/nubwxFSQxRpE+tFnzXkBY17yZ4Q?= =?us-ascii?Q?klIn0LSfPW8s6khOPH6PszK8nRUCumiqPcLDHbjo1eRrZiMhWmAtn+i4zo5l?= =?us-ascii?Q?mF7QcH1zQHt0tDERCyuq9My2M7deTOoMDL3+fYORecjSkcXf0LORCrss68vp?= =?us-ascii?Q?QF3YhmC605galWI1ayNuyHqXAdkyZCH/N0AdhKTmkH8KtKhnI9Bf+9sLYm6Y?= =?us-ascii?Q?QM0YHI5Tm/zi4S9hwJtHEQyX2pNLFpB/WkqDFPmm0gcZP1L5sQ5D08HpYNxs?= =?us-ascii?Q?rflk4eCPrAQNpy3ux10Oy1uYgsfe+w+LioouMJrM9UN4ZYbcRw9kyRbFkmgl?= =?us-ascii?Q?He58Ei+SgnI/m466wOVqV9RyJBm9N1gyQPGoLa4532Hy5JRfu54ZPZjcctj4?= =?us-ascii?Q?qcQ+nwN9OqFXJKzAvkg3x6AM0Kc3Ef8Y+9m1rw3SoWA3QEdhJpdvlVLUrLFS?= =?us-ascii?Q?5eziLF96JqOlIH7RKiFSM3qqzPomj7IP2+A7f87dufv5U5Qnw2kYfSJa1l/B?= =?us-ascii?Q?hg2FDmHsD628nA+6XFAe2WKok8V1ZCjaakxu2BfZ7TK2xOOMqnaYMd4yIZ8C?= =?us-ascii?Q?ycckfThxQaz7orNh1Vc8ozdrQRONPUtp8N/Io1OX28diFSM2+fUrUUu+G9d5?= =?us-ascii?Q?f21v6NxpdCgd1hrUA+WeuG2JN5gpM41w7FZCoPHTLRQyZXFIuhMTsq7UUxsp?= =?us-ascii?Q?ivqdPgtmY4xii2q7UUc2NynUlPwTDO24BuDKx3Njvtv/uAlN9PCcHb2YiwRC?= =?us-ascii?Q?HfuLLNE/u6K9P63JQ4G/XZd21LWotNVpEw96jyu7deGzKXKqFrrE7B2o/xaj?= =?us-ascii?Q?7zimIWjdLz35vGC9LM7jYimKtf601QG6clvZ3MBQeYZutTxestfbAr/lU/Q8?= =?us-ascii?Q?THgYecaUUCaL5eNFcNAuvP4mIFqndKFxzLjoiismeHI++sCTn3JrdKRuifWg?= =?us-ascii?Q?Jq4SRASiM7StK4rTYeZU4ZkG78XW2b/aus2PAAnpbP4jJJpKucHYhdCLQyz+?= =?us-ascii?Q?OkkBknqyTIAmM9KtexEW/WbfpxFeEeBUAR0ELneZCZmxdqPX3hBYrPobj1vp?= =?us-ascii?Q?Bk/EpagTB+qgV1UP+i3q0Jnb/J+cHP3chQzoWZ78WmMYyUesChr76131o4/i?= =?us-ascii?Q?CyU/tzIAKevDW+iVxsz2lgHw4FFmeEuRkOlI1i+G7ZrwZLfUtFMdjgOW2uw8?= =?us-ascii?Q?vOqpiIjzXuN6pA6SsiIc/WXG?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7666055-bf5b-48c7-07fa-08d970d61bb5 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2021 01:31:53.7978 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0K427v3vw2osmqpq0rGJjZARg87+1OwXg/Asous41Y0IsrTp9f6pnY6s4BY3KkzfdB26TS7u/XTPfElvzJnWig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3635 X-OriginatorOrg: intel.com Subject: Re: [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" > -----Original Message----- > From: Qiming Chen > Sent: Tuesday, August 31, 2021 17:11 > To: dev@dpdk.org > Cc: Wang, Haiyue ; Qiming Chen ; stable@dpdk.org > Subject: [PATCH] net/ixgbe: fix rss max rxtx queue num >=20 > 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. >=20 > Fixes: abf7275bbaa2 ("ixgbe: move to drivers/net/") > Cc: stable@dpdk.org >=20 > Signed-off-by: Qiming Chen > --- > drivers/net/ixgbe/base/ixgbe_82599.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/net/ixgbe/base/ixgbe_82599.c b/drivers/net/ixgbe/bas= e/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" >=20 > -#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 Let's keep the value, since there are so many kind of ixgbe, and sync it with the kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/dri= vers/net/ethernet/intel/ixgbe/ixgbe_82599.c#n12 > #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