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 BE4D8A0C4C; Tue, 21 Sep 2021 15:32:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3AC6440DF8; Tue, 21 Sep 2021 15:32:11 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 436FD4003C for ; Tue, 21 Sep 2021 15:32:09 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10113"; a="221467279" X-IronPort-AV: E=Sophos;i="5.85,311,1624345200"; d="scan'208";a="221467279" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2021 06:32:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,311,1624345200"; d="scan'208";a="549486077" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by FMSMGA003.fm.intel.com with ESMTP; 21 Sep 2021 06:32:08 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 21 Sep 2021 06:32:07 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX604.ccr.corp.intel.com (10.109.6.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 21 Sep 2021 21:32: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.2242.012; Tue, 21 Sep 2021 21:32:05 +0800 From: "Zhang, Qi Z" To: "Yang, Qiming" CC: "Guo, Junfeng" , "dev@dpdk.org" Thread-Topic: [PATCH v3 00/20] ice/base: add parser module Thread-Index: AQHXrur57joMmG+pbEGG4PTcl7si9auufDrA Date: Tue, 21 Sep 2021 13:32:05 +0000 Message-ID: <26c3ed3364a34d11ac7aa92bf9dddbf1@intel.com> References: <20210921132009.3461020-1-qi.z.zhang@intel.com> In-Reply-To: <20210921132009.3461020-1-qi.z.zhang@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.6.200.16 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 00/20] ice/base: add parser module 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: Zhang, Qi Z > Sent: Tuesday, September 21, 2021 9:20 PM > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH v3 00/20] ice/base: add parser module >=20 > Add the parser module that can parse on a raw packet then figure out the > low-level metadata to program the hardware packet process pipeline for fl= ow > offloading(Switch/FDIR/RSS). This is the pre-step to enable a protocol-ag= nostic > flow offloading solution for ice devices that leverage Intel DDP technolo= gy. >=20 > -v3: > 1. fix 32 bit compile issue in patch 2/20 >=20 > -v2: > 1. use inclusive word in patch 2/20 > 2. replace magic number with macro in patch 17/20 3. fix couple typos >=20 > Qi Zhang (20): > net/ice/base: add parser create and destroy skeleton > net/ice/base: init imem table for parser > net/ice/base: init metainit table for parser > net/ice/base: init parse graph cam table for parser > net/ice/base: init boost TCAM table for parser > net/ice/base: init ptype marker TCAM table for parser > net/ice/base: init marker group table for parser > net/ice/base: init protocol group table for parser > net/ice/base: init flag redirect table for parser > net/ice/base: init XLT key builder for parser > net/ice/base: add parser runtime skeleton > net/ice/base: add helper function for boost TCAM match > net/ice/base: add helper functions for parse graph key matching > net/ice/base: add helper function for ptype markers match > net/ice/base: add helper function to redirect flags > net/ice/base: add helper function to aggregate flags > net/ice/base: add parser execution main loop > net/ice/base: support double VLAN mode configure for parser > net/ice/base: add tunnel port support for parser > net/ice/base: add API for parser profile initialization >=20 > drivers/net/ice/base/ice_bst_tcam.c | 291 +++++++++ > drivers/net/ice/base/ice_bst_tcam.h | 35 + > drivers/net/ice/base/ice_common.h | 1 + > drivers/net/ice/base/ice_flex_pipe.c | 4 +- > drivers/net/ice/base/ice_flex_pipe.h | 8 + > drivers/net/ice/base/ice_flex_type.h | 2 + > drivers/net/ice/base/ice_flg_rd.c | 76 +++ > drivers/net/ice/base/ice_flg_rd.h | 17 + > drivers/net/ice/base/ice_imem.c | 244 +++++++ > drivers/net/ice/base/ice_imem.h | 109 ++++ > drivers/net/ice/base/ice_metainit.c | 143 ++++ > drivers/net/ice/base/ice_metainit.h | 46 ++ > drivers/net/ice/base/ice_mk_grp.c | 55 ++ > drivers/net/ice/base/ice_mk_grp.h | 15 + > drivers/net/ice/base/ice_parser.c | 556 ++++++++++++++++ > drivers/net/ice/base/ice_parser.h | 113 ++++ > drivers/net/ice/base/ice_parser_rt.c | 870 +++++++++++++++++++++++++ > drivers/net/ice/base/ice_parser_rt.h | 53 ++ > drivers/net/ice/base/ice_parser_util.h | 36 + > drivers/net/ice/base/ice_pg_cam.c | 374 +++++++++++ > drivers/net/ice/base/ice_pg_cam.h | 74 +++ > drivers/net/ice/base/ice_proto_grp.c | 108 +++ > drivers/net/ice/base/ice_proto_grp.h | 23 + > drivers/net/ice/base/ice_ptype_mk.c | 76 +++ > drivers/net/ice/base/ice_ptype_mk.h | 21 + > drivers/net/ice/base/ice_tmatch.h | 44 ++ > drivers/net/ice/base/ice_type.h | 1 + > drivers/net/ice/base/ice_xlt_kb.c | 216 ++++++ > drivers/net/ice/base/ice_xlt_kb.h | 34 + > drivers/net/ice/base/meson.build | 11 + > 30 files changed, 3654 insertions(+), 2 deletions(-) create mode 100644 > drivers/net/ice/base/ice_bst_tcam.c > create mode 100644 drivers/net/ice/base/ice_bst_tcam.h > create mode 100644 drivers/net/ice/base/ice_flg_rd.c create mode 100644 > drivers/net/ice/base/ice_flg_rd.h create mode 100644 > drivers/net/ice/base/ice_imem.c create mode 100644 > drivers/net/ice/base/ice_imem.h create mode 100644 > drivers/net/ice/base/ice_metainit.c > create mode 100644 drivers/net/ice/base/ice_metainit.h > create mode 100644 drivers/net/ice/base/ice_mk_grp.c create mode > 100644 drivers/net/ice/base/ice_mk_grp.h create mode 100644 > drivers/net/ice/base/ice_parser.c create mode 100644 > drivers/net/ice/base/ice_parser.h create mode 100644 > drivers/net/ice/base/ice_parser_rt.c > create mode 100644 drivers/net/ice/base/ice_parser_rt.h > create mode 100644 drivers/net/ice/base/ice_parser_util.h > create mode 100644 drivers/net/ice/base/ice_pg_cam.c create mode > 100644 drivers/net/ice/base/ice_pg_cam.h create mode 100644 > drivers/net/ice/base/ice_proto_grp.c > create mode 100644 drivers/net/ice/base/ice_proto_grp.h > create mode 100644 drivers/net/ice/base/ice_ptype_mk.c > create mode 100644 drivers/net/ice/base/ice_ptype_mk.h > create mode 100644 drivers/net/ice/base/ice_tmatch.h create mode > 100644 drivers/net/ice/base/ice_xlt_kb.c create mode 100644 > drivers/net/ice/base/ice_xlt_kb.h >=20 > -- > 2.26.2 Applied to dpdk-next-net-intel. Thanks Qi