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 91A7FA0548; Tue, 22 Jun 2021 05:39:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1228140140; Tue, 22 Jun 2021 05:39:07 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 7CE6940040; Tue, 22 Jun 2021 05:39:03 +0200 (CEST) IronPort-SDR: +SN2cxzTvt3cPDc4NCMtS3Mz0cOAIUa28nnncWTkTxOQfFJdQMjQnLd4TvndDmbhonz4tASf3E nVayLV2nMg/g== X-IronPort-AV: E=McAfee;i="6200,9189,10022"; a="194287891" X-IronPort-AV: E=Sophos;i="5.83,291,1616482800"; d="scan'208";a="194287891" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2021 20:39:02 -0700 IronPort-SDR: 2xzXmslZvgJq+5EumTPZgw7Pm+wLVcykEaborfkcjHeNuNpvDj/jZ0J1adoQ1EZHOw1TSwj24h bLmh+nALZXyQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,291,1616482800"; d="scan'208";a="444472486" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga007.jf.intel.com with ESMTP; 21 Jun 2021 20:39:02 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx604.amr.corp.intel.com (10.18.126.84) 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 20:39:01 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 22 Jun 2021 11:38:59 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.008; Tue, 22 Jun 2021 11:38:59 +0800 From: "Zhang, Qi Z" To: "Xing, Beilei" , "Zhang, AlvinX" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/i40e: fix L2 payload RSS mask input set Thread-Index: AQHXZnkAiZqwf2ZMPkWz/1wT+wkJGasfYz9w Date: Tue, 22 Jun 2021 03:38:59 +0000 Message-ID: <1c45e8592d8145bd94563e236e5a0b6f@intel.com> References: <20210618083821.9876-1-alvinx.zhang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: dev On Behalf Of Xing, Beilei > Sent: Monday, June 21, 2021 4:39 PM > To: Zhang, AlvinX > Cc: dev@dpdk.org; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix L2 payload RSS mask input s= et >=20 >=20 >=20 > > -----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 > > > > Allow VLAN tag being added to L2 payload packet type RSS input set. > > > > Fixes: ef4c16fd9148 ("net/i40e: refactor RSS flow") > > Cc: stable@dpdk.org > > > > Signed-off-by: Alvin Zhang > > --- > > drivers/net/i40e/i40e_hash.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > 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 } > > > > -#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) > > > > #define I40E_HASH_L23_RSS_MASK (I40E_HASH_L2_RSS_MASK | > > \ > > - ETH_RSS_VLAN | \ > > ETH_RSS_L3_SRC_ONLY | \ > > ETH_RSS_L3_DST_ONLY) > > > > -- > > 1.8.3.1 >=20 > Acked-by: Beilei Xing Applied to dpdk-next-net-intel. Thanks Qi