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 47FEEA0C55; Fri, 5 Nov 2021 14:18:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB08E41134; Fri, 5 Nov 2021 14:18:56 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id A2DCD40E5A for ; Fri, 5 Nov 2021 14:18:55 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10158"; a="232144821" X-IronPort-AV: E=Sophos;i="5.87,211,1631602800"; d="scan'208";a="232144821" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2021 06:18:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,211,1631602800"; d="scan'208";a="498362113" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga007.fm.intel.com with ESMTP; 05 Nov 2021 06:18:54 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 5 Nov 2021 06:18:53 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 5 Nov 2021 06:18:53 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) 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, 5 Nov 2021 06:18:53 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 5 Nov 2021 06:18:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eJgrbS9e8XU6I2Fri448kQSOXCbg9dRx+sMhvX230zNAIhLejrOmIQoGkGqhZ6mVu5R6oxm2m+5Sznduwur3UchiEtA3kG5RrRdsukuU1ndA/Ffr7ualtX5/H7SQa3o34ipZRrzepwiWo8bbjC/cb6uqVaLK37xk8wt7ePWMVYmAJ2dbOXLoo8JDqsu+1PTmvcdUbKoZsooFxy1mQaQ3qc7fWI3Juzmap9Bu4WoaQygN8MssZOnqQf+YX02lW/X4dh5qW0ZmWMFsp6kACjQilGC641sPKwt0fuCwpXentQy3EtO7Zq3goka50K860rqAJxq08nNftY/6AiWumTqIug== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=M+0t/5Iol0Zmyv5ME+Spjx7qdhrgWxq5F2BUxrebICw=; b=XLX+IGX8d8kLxRMKnAzLZT2cXV0KNt8GCvsctfhI14LuHSnGNt7IP/CydDbFlJrME9nO1DC2o0jyg8XV0WGSb4MwCR1eH6ME90cP2lklULGVSMbKyK783krN/eCBzxmlYs/46Yr8YlB54oMS2SdX9LlNF8PCqCSaNShUuxuwA67JHOlSZB60JmWeiLY1ku0xiMqN+O6z9zc2SF8gdCLAoGmfMrhnvfK/Kdna5YSmXs5dQeY/Xfam/Jeydw6EUBvw53ffMA6BguPP1tEDLjQIQwqLYgwB0VpAQOmJv/ppFmBbfosRlbdCKFbOg3Wy2n6ZcpUDYhd7nes2uRAjHfsVVg== 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=M+0t/5Iol0Zmyv5ME+Spjx7qdhrgWxq5F2BUxrebICw=; b=BLX4GuLHtbfepvYdh+5umPSaZp5mB5a+OV3oPG+lDF524HaKiTFYK/JOkO/iKSf1dj/gzN5IfqaQzRpGvkhjAOmZee3+NgZHBgnM6nuOjUoqZQaPu1NsvXxJBUSDiAMPxdcqk0suqojSqEYLve+7uLkL1muqAddX/8TvKGFgaJg= Received: from CO6PR11MB5634.namprd11.prod.outlook.com (2603:10b6:5:35d::20) by CO6PR11MB5602.namprd11.prod.outlook.com (2603:10b6:303:13a::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Fri, 5 Nov 2021 13:18:50 +0000 Received: from CO6PR11MB5634.namprd11.prod.outlook.com ([fe80::912:121e:18c9:732a]) by CO6PR11MB5634.namprd11.prod.outlook.com ([fe80::912:121e:18c9:732a%8]) with mapi id 15.20.4669.013; Fri, 5 Nov 2021 13:18:50 +0000 From: "Xu, Ting" To: Thomas Monjalon , "Zhang, Qi Z" CC: "dev@dpdk.org" , "Yang, Qiming" , "Guo, Junfeng" , "orika@nvidia.com" , "viacheslavo@nvidia.com" , "Yigit, Ferruh" , "andrew.rybchenko@oktetlabs.ru" Thread-Topic: [dpdk-dev] [PATCH v4 0/2] enable protocol agnostic flow offloading in RSS Thread-Index: AQHX0SKLnA3LHGtZskmYjtSq999Y0qv06oaAgAAA+4A= Date: Fri, 5 Nov 2021 13:18:50 +0000 Message-ID: References: <20211008070934.6956-1-ting.xu@intel.com> <20211104022228.46086-1-ting.xu@intel.com> <2404603.ePvfOphbkP@thomas> In-Reply-To: <2404603.ePvfOphbkP@thomas> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e0e05036-197a-4bd2-1312-08d9a05ecead x-ms-traffictypediagnostic: CO6PR11MB5602: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4K+0rrhjvekJ18b/b6pWIlKbSWuJYEDSnCQUre96WH+BGsMbTQGsdjPCGxuPtgUPYW92kiUOFH0gQ+u2GSoCazUlIJ/gzEvsVoHf9l9K/ezqhbUWCop2iy/HW+gDMV4a/phTeBmUD3r39ziJTgAovMuIrwyn1GecpBY/yH+//s0ue6GSJN0kL0p0ktmIVwO42Wcz7ni3nnfGsxd3BcRERtfr7If5+ITZydqF27adxjfRCc0uB1Xm93n+AQ0nT3+fu/sJoVtobE6Qmxe8zmcDH/fOOqAO8vGncJnjdMIcnFw+ga1uX/UqLB+EJ6Cq9H9InGXcreMpSUeduPWAtVXKAp8ncy/snLdbFWlBCahbGm1K3WdaQHZk6mBT/9OLymIa/HhiNyLQVjQgc14GmaVVlatGn1f26dX0lLjw6EByUwHpKad/Xar0Ls03KraWJETJehZA92YnXqO/Jn100pSYYR27RdbnWBEVu1UYg9V0AsNpdX/ASLcU1i+FOx1XazY8Gp0L3DqQHaK3Bkt5qLb0ul9dQZoBfJmcAl57Zmnz1j4CD4KzFdtKlCSGMTRqZuxFY/ili46qA41jFANAYM99suvulghYshWrVUX5z9cJzJ7M0whaoy0pfwdSYadZDVfwxML5hgdq38D4MP/h0TRKIOOcraNIXutbyD7eHu4xqOSnfW+XsWAuB36ltQIgvWMsrN4jxey9TpKqlLNVdVB+Gw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR11MB5634.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(38070700005)(52536014)(26005)(316002)(55016002)(186003)(38100700002)(54906003)(6636002)(110136005)(8936002)(9686003)(33656002)(82960400001)(2906002)(6506007)(4326008)(71200400001)(7696005)(122000001)(83380400001)(66946007)(5660300002)(53546011)(66556008)(66476007)(76116006)(86362001)(64756008)(8676002)(66446008)(508600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2HIDV8feyI1lovISiKuQfXlRjVaud3OOsTCPeZHLeDNOvFOJsxF9+Q5hrAvz?= =?us-ascii?Q?Wt5xj/M2rp9knR2g8mGcxQwER1bnxw1DIars5hni6IktLzreVEfxkmkt39Vh?= =?us-ascii?Q?7b4buzKbIr8qMzpkI+O+EbFLg1echgjAi8E0QIA7MFZcUz4L3VJy6zPQyz/6?= =?us-ascii?Q?pqitNnr3KghJa0wBo9zcs2/ppzq0DkPXexkUAW5892fV3zuCB4hd2bQFlHs7?= =?us-ascii?Q?ziYiVtMZ636HXDWwbBxFCRUqCB0MeIIndNylj+Cgj1w/gDgXjn6yKRYZ092n?= =?us-ascii?Q?S7r9W58Y51fKeGZ/DMrZLIoDt2VMDnmQUfA6Ae0fJ1xp7HFzoY3gF8E+9XGX?= =?us-ascii?Q?rFeWs3YWIYXbyNQUDkAQwJOtQ6VRNFPm24NNayVnfrVAT2uwabV7a2MwBH4t?= =?us-ascii?Q?2uXr2dwt9A14lJNLp2L4dwoIQfCWM/J7kgp7jT3XsEM8sZML9mo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HQ3CGjmR8ziwuUnvy0rcT0FeRqk8wwhi63IGxAinmXCNx?= =?us-ascii?Q?PX4wqFuxtkxn7o7l6EnF6YHI19a+N+JK3gQ04FtS8my+gToGuwr806A8B07g?= =?us-ascii?Q?ccfXAwkxKH2051az+C3FY2Wp7PP0brNIq3Q3oAeIjdNyBTKe0M7cHRwJxGgT?= =?us-ascii?Q?dQBIm6WcxNyH+tDv9/e6O19hEDtFp/trhhEr9DuKnqHCeT03qCPGQFSqLS5a?= =?us-ascii?Q?pp5A9QVjND+UevmOtgaTr/XChNiwL6yZo0Qh9OzEPpwAs01Sg0yuxMeKYTn6?= =?us-ascii?Q?Byjt4OKxZbG99euxnKe39Es=3D?= 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: CO6PR11MB5634.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e0e05036-197a-4bd2-1312-08d9a05ecead X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2021 13:18:50.2613 (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: fwWCa9kSrgbHdzY/qp8FzqMzaO5ola2rUXldBpM9zg5xY9EIg5VaEqnj5tFHPNp6rrDun3YIxS8fZRG4usrVhw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR11MB5602 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 0/2] enable protocol agnostic flow offloading in 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: Thomas Monjalon > Sent: Friday, November 5, 2021 9:10 PM > To: Zhang, Qi Z ; Xu, Ting > Cc: dev@dpdk.org; Yang, Qiming ; Guo, Junfeng > ; orika@nvidia.com; viacheslavo@nvidia.com; Yigit, > Ferruh ; andrew.rybchenko@oktetlabs.ru > Subject: Re: [dpdk-dev] [PATCH v4 0/2] enable protocol agnostic flow > offloading in RSS >=20 > 04/11/2021 03:22, Ting Xu: > > Enable protocol agnostic flow offloading to support raw pattern input > > for RSS hash flow rule creation. It is based on Parser Library feature. > > Current rte_flow raw API is utilized. >=20 > I remember raw item was especially targetting encapsulation action. > Which action do you achieve in ice PMD? Only RSS with raw item? >=20 > For matching, raw item is quite limited. I think the new flex item is mor= e > appropriate for general custom protocol parsing. > Did you look into flex item feature? >=20 Hi, Thomas, we make use of the API for rte_raw to achieve our protocol agno= stic flow offloading method, including RSS and FDIR. Behind it is the new P= arser Library feature based on DDP, rather than the original logic I think.= Binary-format pattern spec and mask are passed to Parser Library and the c= orresponding protocol ID and offset will be provided.