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 2476DA0C47; Sat, 18 Sep 2021 03:59:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90B2F4014E; Sat, 18 Sep 2021 03:59:33 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 572AE4003D for ; Sat, 18 Sep 2021 03:59:31 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10110"; a="245302776" X-IronPort-AV: E=Sophos;i="5.85,303,1624345200"; d="scan'208";a="245302776" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2021 18:59:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,303,1624345200"; d="scan'208";a="611504966" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga001.fm.intel.com with ESMTP; 17 Sep 2021 18:59:25 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.2242.12; Fri, 17 Sep 2021 18:59:24 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 17 Sep 2021 18:59:24 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 17 Sep 2021 18:59:24 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.171) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 17 Sep 2021 18:59:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZFQsMBholiRHFPXONCie74ayPWOD6svDJe78JjcVeAkXhBVQdwGR8hRurHBieQxOO4R83aA16mHc87SHJtY7H5RyuQ5av4yO4kXWhB+fOIx+VtssRFpEDZmTq/Fxf3JEJ3Lwc0Q2xnOL+1N29jU6OppVH+D3uUCmXcPj6iGfax8cDdVg4a2Pq4BGwUgvSMAcNq3BYTJw/FhMAjSZ3mMmMWMfGu1b84gyo/OsPAYLodPJVe1CQK41NAsRashbvG2K04HUq5+KoJiC3BWp9iAYcRajxqJVTbFe0YsXpc1oLjkMof+sekI42Qv8Z2AxM2x3Kht2VLA8gAKoRmyJj7olwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=H0ieU4hSHyjMMYUi3QPlt7hvOnjkAQj8NPZ7sJFZFKQ=; b=ClHWeGGbVmeuOPJcqPBVrEejIvkJia0jenO40pGVOSd1Hudk6NuwbZyOc3b9HVYMGHHkYsqBZreuhQYuRZUTAwNi9Pz6G03TbyCz9saPcdDK2NPJtljRNNBMi9fKQwnVjVp8A2R9TEir9pp+vs8nVf2YE0xBWogNWlJAs6BUwdgiGXOc8L00XUVhGXijwmxiIPxC76DzTFwj4C8hzT4fVY6JQwrvTUrQWvKo0J/XMGYMirJaXMEAcMn+LxahM6xeum+mWZqObVK90gMpcgppd6AxkMqG3hahDDL8KXG//DBWfO0PfcSiU64+KZZm/6QDh83MMGeoNFZlXKY694SQ+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H0ieU4hSHyjMMYUi3QPlt7hvOnjkAQj8NPZ7sJFZFKQ=; b=JC6ehCAfslsBaAjHf3sW7EGvLlvgjubYFrH2PHOVTloC6KfFVFUYPymouPIm3RVKEQck0VTRNvNE4YhLace/r3XfM/tOgv5vPPL6V7rieKlM1dLzPauUSoDTU/o8YcLrrqkBhLg011Yacn3twA435RBpnvUaD++kFmxY77M4bOI= Received: from DM6PR11MB3723.namprd11.prod.outlook.com (2603:10b6:5:13f::25) by DM8PR11MB5750.namprd11.prod.outlook.com (2603:10b6:8:11::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Sat, 18 Sep 2021 01:59:21 +0000 Received: from DM6PR11MB3723.namprd11.prod.outlook.com ([fe80::7069:ca44:e1c1:3f1a]) by DM6PR11MB3723.namprd11.prod.outlook.com ([fe80::7069:ca44:e1c1:3f1a%7]) with mapi id 15.20.4523.017; Sat, 18 Sep 2021 01:59:21 +0000 From: "Guo, Junfeng" To: "Zhang, Qi Z" , "Yang, Qiming" CC: "dev@dpdk.org" Thread-Topic: [PATCH v2 00/20] ice/base: add parser module Thread-Index: AQHXq9H1+S53pFzE4UirK1iFUUyMh6upCdjQ Date: Sat, 18 Sep 2021 01:59:21 +0000 Message-ID: References: <20210917144322.3141886-1-qi.z.zhang@intel.com> In-Reply-To: <20210917144322.3141886-1-qi.z.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 39fc0886-c1d4-4f9c-e802-08d97a47eed8 x-ms-traffictypediagnostic: DM8PR11MB5750: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cuYHG6u47NJAMBNCqX9zjmMUkKeKVnItJIXuw3PN+wUKlYNpE4DWmRZGQPou3kjbxceOnhejvTPsX/7c0xv7biCVlrUue33er+Y1IaiDU+qRLzcNGI4vUEquOU4fp4HRn972DARDhFC4Z+zZ5wCcJ0M7r2rzxc1wOPbF2jd02/qbuMeI7dua/Ud5/HQvPWZ2Dz8ZFMYZS1kfxfIyKjJ3JnVxKZSDjXQ3lZ6HfJxa19dv328e92qVm2yrEQmPG+qVoAJ1/Aw+FG30tM9iDT2A3Q6jVhirSWOGm/h33I3HcYd22l2LHURuRhDnf2IVCkQ3vKcl1D31xp3YHeEaq8iNQaAjJ3CxFd0i4R1wLidipkkkBkOO+PKQ/Guw9TnsuVCM8WOdeJ8sX7+a9Y6LLhZ6ZST7I2BxpTgVxqLOaQsnd4lfPTZpWOkeoNkSwidvYjy8GTJf8wLu//P4XbU4skPRfWA+Wamoat3KStrzkA9oAxG8a4fXXxQnotbkdMIj4F9XDZ+bHOSGSWA3lpjMiKtr3T5nQVramY2eUnS0wHbxa6VSNOarVdw+z2xDzpwjEIZJxgQ7OeYD8UuPDmpQ7NQ05KJ7bUCDxGrkTxOJca01qtXt2B6Ch25TpKwp7rmaxk5lykvP7nEdUfTJ0HE7PhkJAgkp1nHiBgjRPghcv7FY2+knA+2lAxcgqpB/7wBQnlxsozRyvoXavPx7pMwvqJUlAw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3723.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38070700005)(83380400001)(122000001)(76116006)(53546011)(33656002)(66946007)(186003)(66476007)(2906002)(66556008)(64756008)(71200400001)(66446008)(26005)(38100700002)(8676002)(4326008)(508600001)(9686003)(316002)(110136005)(86362001)(52536014)(7696005)(8936002)(5660300002)(6506007)(55016002)(6636002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/MNATlM9vElmA3WLw5NBdst0kKokxmsQxGzMUMvekHfxwTYms9UVBTndH5gN?= =?us-ascii?Q?ibDdvuLpbRI6EjWCKHzleNLk1uXBhOjxb8SOzhz4cI/u0qGvINfnPOFgUetU?= =?us-ascii?Q?pC/INDO5olhNkJbtdNrZS1Qs9NkA+EAfatCCmykVe3UeYY5CkQk6CTKZm9iz?= =?us-ascii?Q?Mz9Cl6siZJFIzuGwGoVpCUChafrJCAd0Y0RVjtNe++a6EtBxvL6SY3lgROaR?= =?us-ascii?Q?OJeCVzBTbHKTeaeLeJGbqO2sRgjt8zGmLVr5FdBcBpibHbQKCPbuHCaH7p7y?= =?us-ascii?Q?mUapaar2EFkWhpK1c0BEhf2M9SS0FFke4Y4JpuVZw2iAfJV8DXi1X3LX9MxL?= =?us-ascii?Q?VE21CIMrE+a38/zYwVLQc93BB1CmitktVciXii5NE1MfNWp/v4noKUnhq0eb?= =?us-ascii?Q?ePpxuTOmrhUe7KZvOIb3p50bDDvNfHeXTqKFXJqoiFvQHh2ZWJ6wYoUtKCFl?= =?us-ascii?Q?DQYNCyzJB7iW9bjM8CPYmZ9oxHFMFV+UDB2r+UP5hn+dzrxKEg0iWPbLHthW?= =?us-ascii?Q?4Hgax5dsM0t0wtDZ/iJdxTI9sz4oyk6fe1mdOkGYyBxdHlE6Yn5iWMONC/95?= =?us-ascii?Q?IWEwfdEwFqwEDttDJj4kJGiFtpDMSVBpa9RlpBAJQdl5Au2n4tzXh6KxRhLw?= =?us-ascii?Q?qR0bd6+d1TaKAhTkmK1U+FC8snyBmDjppS81+akZTaUbDeO+YuU3lFIzCwDE?= =?us-ascii?Q?ecqvZVuolR8OcAnkeajit09ly62/Rv+Vh7UQ5kLCZTpaBbw2jkyEbBzGTIuq?= =?us-ascii?Q?4ZNCxXjAqRBXMZJt/vr2we33hDZL/YQbtU6ZcvvUQ7PQXotSJbNr3NT5ACvq?= =?us-ascii?Q?YvOBiTcE0FwiusFdIG0+/xB/9VtWsTA1yWBDGguaYU3I2DLnz1iTqkLCPiUk?= =?us-ascii?Q?izB0u0p9kDV3Y23hB/5vnSxQf9aoYldQuSUEQK+jmWqyAvumm7rseEiFzi7z?= =?us-ascii?Q?tNHg9dGHrdLsT3CmCfyg2W+z73CpHFG4sZWHXJ9NwpsqLwT2on41rrpE0jGE?= =?us-ascii?Q?CCn5KXWJLllHYDonG2d+xeR+cjKFkj1xECH4mJfxyg1A/rawzYHpFlWkDfGr?= =?us-ascii?Q?XBpn5owP95DQfXaSQ7rGKxPl5NJT8m6GZA0R7sx5vefndxXOaPhwVOApumnm?= =?us-ascii?Q?9ysJXHN5GunsLrR84Ou5OjcyfedaRLW3uyQpNHBy+7IBsOlQ0NrFWRdKCJFU?= =?us-ascii?Q?ddDZ/3mcw6ey0DrVLd7fhB/84O3qylzJVvlMICvqAStcpubfaJKaMC7ukfr0?= =?us-ascii?Q?BIBM+T78CoFC8GqOI9DkkuXP9AAECiDEUvYjHYpLYxMqshoB4SuaVwlZDil1?= =?us-ascii?Q?JHBqdRlPogn0vqMfIkUGj0w4?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3723.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39fc0886-c1d4-4f9c-e802-08d97a47eed8 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2021 01:59:21.6855 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pwUZC5Ef8TeIXuXF2KmNUtW+B21Y4pkwbM67rUwEUblLtSxOl7PHuTADXpili5/m4x0IYxCdqYFlLDIV4dA/KQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR11MB5750 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 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: Friday, September 17, 2021 22:43 > To: Yang, Qiming > Cc: Guo, Junfeng ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH v2 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 flow offloading(Switch/FDIR/RSS). This is the pre-step > to enable a protocol-agnostic flow offloading solution for ice devices > that leverage Intel DDP technology. >=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 Acked-by: Junfeng Guo Regards, Junfeng Guo