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 77EA6A0C46; Fri, 18 Jun 2021 10:38:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 651AF410DE; Fri, 18 Jun 2021 10:38:33 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 9724A40142; Fri, 18 Jun 2021 10:38:31 +0200 (CEST) IronPort-SDR: zwpbCE3+m4ydSGdJpgyFV6o6QMG358IosdjdST4oGHGtjh5ZmQysdvAfttFrCri/VWH4t8y2on jYa8lLlh2LmQ== X-IronPort-AV: E=McAfee;i="6200,9189,10018"; a="270367139" X-IronPort-AV: E=Sophos;i="5.83,283,1616482800"; d="scan'208";a="270367139" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2021 01:38:30 -0700 IronPort-SDR: bNWUvp7U9UfvUK35HGu3QxZyJHCszRW9D7IDZ/T8otZ79CHJfwSmxe8MQa2EOFosJZSrW/4yYW M9s+IBFHjXMQ== X-IronPort-AV: E=Sophos;i="5.83,283,1616482800"; d="scan'208";a="451313903" Received: from shwdenpg235.ccr.corp.intel.com ([10.240.182.60]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2021 01:38:26 -0700 From: Alvin Zhang To: beilei.xing@intel.com Cc: dev@dpdk.org, Alvin Zhang , stable@dpdk.org Date: Fri, 18 Jun 2021 16:38:21 +0800 Message-Id: <20210618083821.9876-1-alvinx.zhang@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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" 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