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 4F97BA0547; Mon, 21 Jun 2021 10:39:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D33C41158; Mon, 21 Jun 2021 10:39:26 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 0E47840040; Mon, 21 Jun 2021 10:39:23 +0200 (CEST) IronPort-SDR: VLPrgyMsX7Yt6/bZRAVLZyNJYZBpenkd3A+SV7zHhL5TZRWrvvcKM0ZuAmTz0UJvA9XxSpUAx+ /HGT3r7+l2bg== X-IronPort-AV: E=McAfee;i="6200,9189,10021"; a="267943160" X-IronPort-AV: E=Sophos;i="5.83,289,1616482800"; d="scan'208";a="267943160" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2021 01:39:22 -0700 IronPort-SDR: wniRphcln0aTyXuihgKvx/SFYV3nsZ0glQfPoKQXYOdssB0vyqbomj0pEpB5m2yJUqh+EHubuY JMj2+YvQokfA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,289,1616482800"; d="scan'208";a="623010416" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga005.jf.intel.com with ESMTP; 21 Jun 2021 01:39:19 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 21 Jun 2021 01:39:19 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 21 Jun 2021 01:39:18 -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.4 via Frontend Transport; Mon, 21 Jun 2021 01:39:18 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.174) 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.4; Mon, 21 Jun 2021 01:39:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LFTReW3d/UqXoZweeIszbJeWgofLRLD4kWvUQCX8vBbdkl+yoq4M5Lq3OFL4g8hitUw/kR6dX5mAPirTDbBvXqRk5kBy9rkNg1cJXQALPoObYwQrTaYKCekBux2swPyUP/9/9ZnENDjrvhXrC7LqabyuVpXZlY43CnrIi/G45WZRP8nnFAJKdY3TKHoIVRl9DLKz3ByaagTt/JbPjyc/gx1mGyCUi8wGhPcTU96eFs5IQeY06bmwG2JSd4XGh5Qf9iorpOBodZT9LNzH7pZzG86bAzHISjnw61zuW18/4QYTk1huIXJ3m1LKK5qsff0V7Kdvp4O23tKGcrRGfkfAcA== 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:X-MS-Exchange-SenderADCheck; bh=UZj7Z0xry6WBFRRxxQj23QBlULpYNPlQL4oOKGfyHNk=; b=M8/cNMxtJHd5x2+wDh1rU5eVAmNl542R2OTCUSSVtmp2G21j1W/Gc9n6AREiunySqQRGOIpjZYdH2n9My/iSbntu5v8OwO/ugb1Uw9YnwJVhkDTpU2ZMeSOu1HExp9V203MxSj5GH6uWhRWXex3tHVzlB/zFWoHjpIPzf4UXJrnyZyx4/Dz1zNd+PbXFdkFiuUmAJFtvCRK0Dg9hcldyNLf7EGWK6DPLlScb3Y6s8fv0yb+EzOa3PCZ0+QPYj40qw2QR4rXkIt1aBBru92T3hZ7AdWmg0kM/Hqjaa/nsmdd6NJYDInGHqjVjGCKuN1T1N93J2uP0qZCdWQTf+gB12g== 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=UZj7Z0xry6WBFRRxxQj23QBlULpYNPlQL4oOKGfyHNk=; b=BPnjEAvD7ghlgEYrWW/peBXrNRetviC6CO1m0YWcNWuvFBqBb9JPTcVjDAWb2i5NsofFbku4YBnREfmIpEV5b/xD54eCBDBF7uxYIyLFo3egxsumsfW7ycmvYpPnZ2GpyDQInOxiebtK5HUnbj6leGS+U5R44JAC1dk/V85r4UA= Received: from MN2PR11MB3807.namprd11.prod.outlook.com (2603:10b6:208:f0::24) by MN2PR11MB4696.namprd11.prod.outlook.com (2603:10b6:208:26d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.21; Mon, 21 Jun 2021 08:39:17 +0000 Received: from MN2PR11MB3807.namprd11.prod.outlook.com ([fe80::55a3:215a:f054:6b52]) by MN2PR11MB3807.namprd11.prod.outlook.com ([fe80::55a3:215a:f054:6b52%5]) with mapi id 15.20.4242.023; Mon, 21 Jun 2021 08:39:17 +0000 From: "Xing, Beilei" To: "Zhang, AlvinX" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/i40e: fix L2 payload RSS mask input set Thread-Index: AQHXZB1UCXBDty1SiE+o203gmC4am6seKW8w Date: Mon, 21 Jun 2021 08:39:17 +0000 Message-ID: References: <20210618083821.9876-1-alvinx.zhang@intel.com> In-Reply-To: <20210618083821.9876-1-alvinx.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.52] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 754a06a1-4d97-4085-b46f-08d934900e86 x-ms-traffictypediagnostic: MN2PR11MB4696: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:361; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JzOhCwGN4SnGdojzKNwAIVxl+2eLqQ/znk0LnMey7cnfg5KvWwm7okyzQcz35avpEsW6FDcIrWO/ik8EQK68/g14862ikuNX+hj/AfMovNn8OR42psql4Qwmj32B1NrgLe5musosonVy7Jyubn+WLPkKJZFN1zWeDp5et4Dw9HjZYUXwMazq4fL4q9ZQawsNEmIUIjwnAHKS9Vp3HJ2s8U59sefGzyIjqhSZfZ9rdMH6SZ+ER+uYvoFeyrHorvWMrzb8ZPSB1y24RPHNBNRJqbFamEjuEwp+AzZo8WU+rM3HbzNToKC4R95Caus2tviMYaxoHcZNyXIn3QWjz2aFxoflP+hx6rd6dzcD1GlJpKH9YHcJrR3U24VQfuno0vmubbk3R8riD4InTLa9dmyhxUZqxo4g0da0nuOesdcjy38Gm4F3o0U5dwh/ix0Kn4wxtsSjzTJ0QpSp3lvy9shCLGvm8vV9QN7VCqFOG8YopL1559pigNwlws9bvlBUvzlmLW9QUp6DKd/7aJ3Ogm7LHvN3MitRGc2d9Sa1JohDZl0BOnIYWIiINE2y627VVVzhwOklLqd0AyXbv9NYdqB+NjBZ92jNZySyWVUhfNxgyKs= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3807.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(39860400002)(346002)(366004)(136003)(376002)(122000001)(8676002)(26005)(71200400001)(6636002)(6506007)(38100700002)(5660300002)(53546011)(7696005)(52536014)(33656002)(8936002)(54906003)(316002)(55016002)(478600001)(66556008)(66446008)(64756008)(2906002)(83380400001)(76116006)(86362001)(6862004)(9686003)(66946007)(186003)(4326008)(450100002)(66476007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Zmpir29aQdB1rDFWxieCtBwbV09I5SkrfyZaKm+XfMUvGTVvqI6oQa9b0ZIB?= =?us-ascii?Q?t1dMKWQHipxKOVs/CBUbMcMaDe5lhiF+MhMrhT+sjlCNDkyCoByubTd9bQIj?= =?us-ascii?Q?g6ATF6WStg1QlgT4E55DuvKMG8NP/5dnxhWoELyH4L5OCkObKiXe8wfwyUwh?= =?us-ascii?Q?fauUea/loBPdaIiWjHOxLmDPYxau8siNsIJ4+aGirh6VMeA4Id/dqyg8zjCm?= =?us-ascii?Q?URKkAnR08F42z9f9pvXRncELP1s8l6AIPJ6H0mny0x7BUk7FGUwqcL4rq3IZ?= =?us-ascii?Q?S5JGk3PDh33TptYj4EUU+mPGTdddoPzP+lvMEtSMS2UUtUiKIqHmpXVXy261?= =?us-ascii?Q?vtlF3fmRu+oxWtyAxew4eGy5BSbrsmxiX6cWqMaqXVCU+fedOdMuaGZjJ3Xb?= =?us-ascii?Q?yvXfmj4HE7+5JbOeLcXK50TAnEEbOyGtK5VuCLmBcmgj/AizyV6c7+WQMqBh?= =?us-ascii?Q?Ni+PXxk/xBKlOpKbgF1nqP2P4BigJ/69Z51YQ9sb4gM+knBybi9WoYjcsCL0?= =?us-ascii?Q?KVkjrX1+s8+gjuAGdv+2j8R5vo210cqcX7BH2/jimOP/FBRsPlqLCb6mjWGw?= =?us-ascii?Q?fenktpBt0vAtRcSU8qjrdt9SbgPr7DgyZmKjHE6LyJgxKHu9SuQJu4oHYlIy?= =?us-ascii?Q?oF8tGhGxlE4tv65KMmAeQ/cRiEqGp4zcRRGIoK33N7ze3Szrbtq8q8YbLCrX?= =?us-ascii?Q?5l3DiD7c+DRmc0rDMBa7pBP/E9OUm4KnV+h4zr5rgfd+5aGNQgGPZC1ADEVw?= =?us-ascii?Q?MccHQCAzqeLrXdaU4EhflF9Ew5oymYdKbBQIc2dxZTZNRxaQcpHdPLe246/r?= =?us-ascii?Q?tvN4nKXrUa5FWXXOY+3h4VykAy+gpVuXi8ZzuiOidl05OpIosXlfSeDMe6Ag?= =?us-ascii?Q?gsgtF8p+JrENpEaRNdW9B1FCQ99C5XlPH1jyNruevm/hjzreICio44ZDduI5?= =?us-ascii?Q?7ZkoGr00HfxKGy3NjyIJgJBpQhw/9kTkptqoiHZj6FoM+iuRPIUNyn+RxY8r?= =?us-ascii?Q?/wOLxk9OIzxVGI9bs2PWR4dSPvgEyFk7ZnEKxm/vq/+QLiaNapEu4BqtSoig?= =?us-ascii?Q?krTOPBzArDALY1wMbbduWcXI0cc2/t04u2dd7gmgoKN1vtI67fjSj8D0O907?= =?us-ascii?Q?TuUgYYA4JAJfQe/SMfUmDcKdELwgn8flf3GN4lbqjyI8PpF80YWhdhbb7EpV?= =?us-ascii?Q?6x321C4toMFkq5MOcHcMZYsbtiJsWTab5FmIpIO7+zNvKDeX/hWgzPn2VpLw?= =?us-ascii?Q?0+fitnj2S7StUIBc4ScvLmEzqCf/QMXqFL/O4M5D4erEuorelkSTIZWiDm29?= =?us-ascii?Q?t9gE00Z/nLnWSlL99GX0GNVO?= 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: MN2PR11MB3807.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 754a06a1-4d97-4085-b46f-08d934900e86 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2021 08:39:17.1700 (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: NA9A7ZHA+Zu90G+RCP426crmHF2x4qxWENskjeTO2xHHVSMIJJEs5VhLqDbR9AC2oEBjrzWING2cvVnBN/IAxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4696 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix L2 payload RSS mask input set 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: Zhang, AlvinX > Sent: Friday, June 18, 2021 4:38 PM > To: Xing, Beilei > Cc: dev@dpdk.org; Zhang, AlvinX ; > stable@dpdk.org > Subject: [PATCH] net/i40e: fix L2 payload RSS mask input set >=20 > Allow VLAN tag being added to L2 payload packet type RSS input set. >=20 > Fixes: ef4c16fd9148 ("net/i40e: refactor RSS flow") > Cc: stable@dpdk.org >=20 > Signed-off-by: Alvin Zhang > --- > drivers/net/i40e/i40e_hash.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/net/i40e/i40e_hash.c b/drivers/net/i40e/i40e_hash.c > index b1cb24f..722edc9 100644 > --- a/drivers/net/i40e/i40e_hash.c > +++ b/drivers/net/i40e/i40e_hash.c > @@ -201,11 +201,11 @@ struct i40e_hash_match_pattern { #define > I40E_HASH_MAP_CUS_PATTERN(pattern, rss_mask, cus_pctype) { \ > pattern, rss_mask, true, cus_pctype } >=20 > -#define I40E_HASH_L2_RSS_MASK (ETH_RSS_ETH | > ETH_RSS_L2_SRC_ONLY | \ > +#define I40E_HASH_L2_RSS_MASK (ETH_RSS_VLAN | > ETH_RSS_ETH | \ > + ETH_RSS_L2_SRC_ONLY | \ > ETH_RSS_L2_DST_ONLY) >=20 > #define I40E_HASH_L23_RSS_MASK (I40E_HASH_L2_RSS_MASK | > \ > - ETH_RSS_VLAN | \ > ETH_RSS_L3_SRC_ONLY | \ > ETH_RSS_L3_DST_ONLY) >=20 > -- > 1.8.3.1 Acked-by: Beilei Xing