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 0B3E0A04B5; Wed, 13 Jan 2021 07:07:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C139B140E2F; Wed, 13 Jan 2021 07:07:54 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id B7300140E28 for ; Wed, 13 Jan 2021 07:07:53 +0100 (CET) IronPort-SDR: fA5ainrqlP0Xtn9D+TxePukjik7dKt+GZt0xhlIKlx1RSeZXGCxTPagOfK1M2+MOPwlGbfpHD1 uOUYAMFW4wbg== X-IronPort-AV: E=McAfee;i="6000,8403,9862"; a="157337270" X-IronPort-AV: E=Sophos;i="5.79,343,1602572400"; d="scan'208";a="157337270" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2021 22:07:52 -0800 IronPort-SDR: BcFkYs8PtFMDXt4RjMYHsmU9nHBTBpMCOonZMGZGYbASN/nHAVO4uoY1Pe7YKXf6PMc3UOt16G 9q684USC0HGA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,343,1602572400"; d="scan'208";a="400435291" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga002.fm.intel.com with ESMTP; 12 Jan 2021 22:07:52 -0800 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 12 Jan 2021 22:07:51 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 13 Jan 2021 14:07:50 +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; Wed, 13 Jan 2021 14:07:50 +0800 From: "Zhang, Qi Z" To: "Guo, Jia" , "Wu, Jingjing" , "Yang, Qiming" , "Wang, Haiyue" CC: "dev@dpdk.org" , "Su, Simei" Thread-Topic: [dpdk-dev v4 0/2] net/ice: refactor PTYPE parsing Thread-Index: AQHW6W5CXV/cDX47OUGoWATiNH2DxaolEeAw Date: Wed, 13 Jan 2021 06:07:49 +0000 Message-ID: References: <20201216085854.7842-1-jia.guo@intel.com> <20210113053129.49211-1-jia.guo@intel.com> In-Reply-To: <20210113053129.49211-1-jia.guo@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] [dpdk-dev v4 0/2] net/ice: refactor PTYPE parsing 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: Guo, Jia > Sent: Wednesday, January 13, 2021 1:31 PM > To: Zhang, Qi Z ; Wu, Jingjing ; > Yang, Qiming ; Wang, Haiyue > > Cc: dev@dpdk.org; Guo, Jia ; Su, Simei > > Subject: [dpdk-dev v4 0/2] net/ice: refactor PTYPE parsing >=20 > If the capability of a PTYPE within a specific package could be negotiate= d, no > need to maintain a different PTYPE list for each type of the package when > parsing PTYPE. So refactor the PTYPE parsing mechanism for each flow engi= nes. >=20 > v4: > rebase patch and add some more PTYPE macros >=20 > v3: > separate the patch set from the ecpri configure patch set >=20 > Jeff Guo (2): > net/ice/base: add PTYPE value > net/ice: refactor PTYPE parsing >=20 > drivers/net/ice/base/ice_flex_type.h | 189 +++++++++++++++++++++------ > drivers/net/ice/ice_acl_filter.c | 3 +- > drivers/net/ice/ice_fdir_filter.c | 63 ++------- > drivers/net/ice/ice_generic_flow.c | 132 +++++++++++++++++-- > drivers/net/ice/ice_generic_flow.h | 9 +- > drivers/net/ice/ice_hash.c | 51 ++------ > drivers/net/ice/ice_switch_filter.c | 139 +++----------------- > 7 files changed, 315 insertions(+), 271 deletions(-) >=20 > -- > 2.20.1 Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi