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 59363A0561; Fri, 5 Mar 2021 09:46:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CF4DD40691; Fri, 5 Mar 2021 09:46:57 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id DF33140147 for ; Fri, 5 Mar 2021 09:46:55 +0100 (CET) IronPort-SDR: PdJQddjunjfGmlmk2yhpd3Sy1uO4ciNrIMDccZK44ETnHRIihg/qTHoF8vi0cDgn9cFvdJgbWJ 0PGgnslNsy5Q== X-IronPort-AV: E=McAfee;i="6000,8403,9913"; a="251642298" X-IronPort-AV: E=Sophos;i="5.81,224,1610438400"; d="scan'208";a="251642298" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Mar 2021 00:46:51 -0800 IronPort-SDR: Nbt5J9NcEFeu3/8KGDgjMaii3ZvQUUT2YMXAZlcWja5VuxP4Nj+HWP5CTf+ei+PsioY/8D/6o1 elco8Z5znX+Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,224,1610438400"; d="scan'208";a="374909203" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga007.fm.intel.com with ESMTP; 05 Mar 2021 00:46:50 -0800 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 5 Mar 2021 00:46:50 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 5 Mar 2021 16:46:48 +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.2106.013; Fri, 5 Mar 2021 16:46:48 +0800 From: "Zhang, Qi Z" To: "Yan, Zhirun" , "dev@dpdk.org" , "Cao, Yahui" , "Wang, Xiao W" , "Guo, Junfeng" CC: "Su, Simei" , "Xu, Ting" , "Zhang, Yuying" , "Ding, Xuan" Thread-Topic: [PATCH v3 0/6] Refactor FDIR pattern parser Thread-Index: AQHXDxBWm/pzChsSO02y8wjuTMN1V6p1GeaA Date: Fri, 5 Mar 2021 08:46:48 +0000 Message-ID: <915ac98ea8cb42bc8640ee12f1681f40@intel.com> References: <20210127052933.2149243-1-zhirun.yan@intel.com> <20210302025407.1197434-1-zhirun.yan@intel.com> In-Reply-To: <20210302025407.1197434-1-zhirun.yan@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 v3 0/6] Refactor FDIR pattern parser 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: Yan, Zhirun > Sent: Tuesday, March 2, 2021 10:54 AM > To: dev@dpdk.org; Zhang, Qi Z ; Cao, Yahui > ; Wang, Xiao W ; Guo, > Junfeng > Cc: Su, Simei ; Xu, Ting ; Zhang, > Yuying ; Ding, Xuan ; Yan, > Zhirun > Subject: [PATCH v3 0/6] Refactor FDIR pattern parser >=20 > V3: > Clear the variable name of input_set_o and input_set_i. > Use input_set_o for tunnerl outer or non-tunnel fields, let > ice_pattern_match_item 3rd columns all none in ACL, RSS, switch. > Add new patch to use seg_tun[1] to record tunnel inner part. > Add new patch to clean GTPU inner flow type for PF. >=20 >=20 > V2: >=20 > Meld patch 4,5 into 3. > Update ACL input set. > Clear PPPoE GTPU input set in RSS. > Put p_v4/6 assignment earlier to reduce redundant code in FDIR. >=20 >=20 >=20 >=20 > This patch set refactor FDIR pattern parser. >=20 > Redefine input set. Ignore the redundant inner/outer info. > Align the parser action with hardware, using input_set_f for outer, input= _set_l > for inner or non-tunnel fields. > Adjust indentation for easy review. > Enable VXLAN inner/outer fields. >=20 > Zhirun Yan (6): > net/ice: clean input set macro definition > net/ice: refactor structure field > net/ice: refactor flow pattern parser > net/ice: refactor input set conf > net/ice: add outer input set mask to distinguish outer fields > net/ice: clean GTPU flow_type for FDIR >=20 > drivers/net/ice/ice_acl_filter.c | 10 +- > drivers/net/ice/ice_ethdev.h | 4 +- > drivers/net/ice/ice_fdir_filter.c | 590 ++++++++++++++-------------- > drivers/net/ice/ice_generic_flow.c | 6 +- > drivers/net/ice/ice_generic_flow.h | 237 +++++------ > drivers/net/ice/ice_hash.c | 214 +++++----- > drivers/net/ice/ice_switch_filter.c | 296 +++++--------- > 7 files changed, 605 insertions(+), 752 deletions(-) >=20 > -- > 2.25.1 Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi