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 F2E1BA04B5; Mon, 11 Jan 2021 04:17:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7CA8B140CA4; Mon, 11 Jan 2021 04:17:12 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 9942D140C9E for ; Mon, 11 Jan 2021 04:17:11 +0100 (CET) IronPort-SDR: jF/oyr9aFVrEFoM/cQcpi6NCp+ujFcoDdCWeyxlH3/5V3JUmsTiBxrsbpVMXt5twpF4b93s76v InXVSuX91j4Q== X-IronPort-AV: E=McAfee;i="6000,8403,9860"; a="156979821" X-IronPort-AV: E=Sophos;i="5.79,337,1602572400"; d="scan'208";a="156979821" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2021 19:17:10 -0800 IronPort-SDR: iEjUn+Q41i9YaMUqsRlzuX9DuWZ1U99MX++P/Yx1lInjvPz1q/BYEatv8uTwa3fdvrPVZbBUwI Dk23EYQ6Yp2g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,337,1602572400"; d="scan'208";a="347978970" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga003.jf.intel.com with ESMTP; 10 Jan 2021 19:17:08 -0800 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 10 Jan 2021 19:17:07 -0800 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.1713.5; Mon, 11 Jan 2021 11:17:05 +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.1713.004; Mon, 11 Jan 2021 11:17:05 +0800 From: "Zhang, Qi Z" To: "Ding, Xuan" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Wang, Haiyue" , "Guo, Jia" , "Su, Simei" , "Yan, Zhirun" Thread-Topic: [PATCH] net/ice: refactor PF RSS Thread-Index: AQHW5ZoiZCCWyQ1AuUuS5rfMXyR4K6ohxSEA Date: Mon, 11 Jan 2021 03:17:05 +0000 Message-ID: <7a63e3a845ef4b5c8339068abaa7a9e1@intel.com> References: <20210108083844.72065-1-xuan.ding@intel.com> In-Reply-To: <20210108083844.72065-1-xuan.ding@intel.com> 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/ice: refactor PF RSS 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: Ding, Xuan > Sent: Friday, January 8, 2021 4:39 PM > To: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei > Cc: dev@dpdk.org; Wang, Haiyue ; Guo, Jia > ; Su, Simei ; Yan, Zhirun > ; Ding, Xuan > Subject: [PATCH] net/ice: refactor PF RSS >=20 > This patch refactors the PF RSS code based on the below design: > 1. ice_pattern_match_item->input_set_mask is the superset of > ETH_RSS_xxx. > 2. ice_pattern_match_item->meta is the ice_rss_hash_cfg template. > 3. ice_hash_parse_pattern will generate pattern hint. > 4. ice_hash_parse_action will refine the ice_rss_hash_cfg based on > the pattern hint and rss_type. > 5. The refine process includes: > 1) refine protocol headers(VLAN/PPPOE/GTPU). > 2) refine hash bit fields of l2, l3, l4. > 3) refine hash bit fields for gtpu header. >=20 > Signed-off-by: Xuan Ding Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi