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 40904A0C55; Fri, 5 Nov 2021 15:53:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7E9141134; Fri, 5 Nov 2021 15:53:46 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id EA3C840E5A for ; Fri, 5 Nov 2021 15:53:45 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10158"; a="229375192" X-IronPort-AV: E=Sophos;i="5.87,212,1631602800"; d="scan'208";a="229375192" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2021 07:53:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,212,1631602800"; d="scan'208";a="450590387" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 05 Nov 2021 07:53:43 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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 07:53:42 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx612.amr.corp.intel.com (10.18.126.92) 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 07:53:42 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.171) by edgegateway.intel.com (192.55.55.68) 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 07:53:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KWnCs64TT/oncpayVvY4E+RohXvEWh/4ioB2EUCQuWwamBPC00OmoaVV0pvnZZUx64VpOYEeIZbGAU1t9VCpubMyGcJXstKYWZwXsRaVV5+9SuPoVzA+rQ2Ex7xsLF1/jkPS9mbAsbcGcruUwO12qD70Nf9tn5M6oNAI29dfWzoCRwDYBqFHaAKZQMNOiYzLtai6br+fkMsrAUM4mtYDm0/xeAtBIPiKwploPReo2vmx4gq2BU2oDEQXUgdmwcfi27/ENvwCDvhkvYWlB7FjMBSNbqm+47sKWQRNFWD74GL2VKV9+CGU1c2pl2yAYCAoXLGEhefV/CdHgO533GVMqg== 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=s2b6Sv7bQ8YavxHTgxdnKL3SPvGCjThYDZRVt9WQF4g=; b=b2ndgGRabeAtNXuEwvS6Bib/YnG3Jfn4q6iCycCKgAwZNFnB0c/CGRLGRFxPgWuCGabML6X3JgGqGjBLet5H8UkqaTpMbFtrw1K/wAoB5/BuOZR3imY6wlyMglV5/T8ys/8mifmA3Vy3PI9ccrYglOeW2pcWeyAFR/S7Uttt6jFkvHfMsrTGslD+AK1X7cdHLSR9PO77+YkqLFUOn1i+zNRofM+5D5uBQsjjKVpCvuAE5QYL3oh8jzRgKyYhbTKRYgAa7N4twqALtUM8jIWNl40qZJvnkAKgmdh8pngfCE1dzofDLrusAc1Lpp1hhzU79rdLgJi03fr1E8wrEU0v6g== 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=s2b6Sv7bQ8YavxHTgxdnKL3SPvGCjThYDZRVt9WQF4g=; b=KKue0RJIn06rscNexse3FFPcVlPAo1EA6hlbH7/xMklGliJDV5FHYOMv9jf2aF7m6aleNU4+qqdreBs7UXnLASiqd1BUTo6TEGiib1vkVudPSIuOOwzU0Mns51M2oOD7EXanQJUK5Zg01V/TOFXBN5skJkPBG0t7PHNHrvEUR9k= Received: from CO6PR11MB5634.namprd11.prod.outlook.com (2603:10b6:5:35d::20) by CO6PR11MB5633.namprd11.prod.outlook.com (2603:10b6:303:13c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Fri, 5 Nov 2021 14:53:39 +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 14:53:39 +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+4CAAALAAIAAF7/w Date: Fri, 5 Nov 2021 14:53:38 +0000 Message-ID: References: <20211008070934.6956-1-ting.xu@intel.com> <2404603.ePvfOphbkP@thomas> <4597919.4CLRmV2U1y@thomas> In-Reply-To: <4597919.4CLRmV2U1y@thomas> Accept-Language: zh-CN, en-US Content-Language: en-US X-Mentions: qi.z.zhang@intel.com 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: 16ba2119-a8af-4175-1cbe-08d9a06c0d9c x-ms-traffictypediagnostic: CO6PR11MB5633: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2FJWzo5VdRo25sDtUOOzWF4gtvuBxaNhWIN2V9BfuenulDRyVE1VMbolSKtU8bkbEvePLUKnoXZT/sCjeQAnTd+x9vvrWTYlQkbiAaTDH6pJQKQa1KwI/wBXEXgPHrtIoaR/ceczWq8A6qk8QvvuckOfUs1TnWZCq5kNNoNWNH5KG4CfjNLoZ/G7Z0wGLVRoXR4Ho50P78NGFEG+ifubYLFDWPF5JweAcDNref0CQwdeXdNhgrPzgd0o8cQlE2OIYcek/BiMX2oOUmKuCYDhBQZxPlLRyt8B7AcccbQSKdxtrjh1jjJ8KUJPxXyX9FH47wertwpfe8363KsnRMngai5yx0dayXCpjVVYeg+qIBlutwyblm0MnWXDzx8cXbDivypSTtvLvZTOyf5u2uBbYHRxAu8NcG+TSMHFTD/JzEQHhqYd8UaqFnX5FZxD9jKyGdUOwq+tLf3PxqWOyOgCKF9WOAIekfCrlMhVD1hdmD3JqWYtaYIdlx0PnSI+lvFB8R7RMZLc5C4OPdCYHTn2KKj4YxT2lxfQimM6HA/FL0mz67nonolkpkGFa6bnXCczERhpeZvFNq9fnpXoVEutmtun9Kjt1vSB0S/qWixBMSKqja4rSonJPUr8SR4zFviCCJBSgXLZe9hDp5BfXqQrPn1v/QiTBXBOUdRpZYVqa2+FzNRS8NLtpJ8Bcb+xL8TPCJiXekkSxPrUH/FP9EZThQ6Z0Ezvteq5y7wRE2XWVI73kiSAvxEw8zrF/tuHoafTeY8zjGF26txud2F6brOB3rUoAVM/qQKedtEAO1JeQ5A= 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)(122000001)(7696005)(71200400001)(316002)(33656002)(66946007)(4326008)(83380400001)(6506007)(53546011)(66476007)(66556008)(5660300002)(66446008)(508600001)(86362001)(8676002)(82960400001)(76116006)(2906002)(52536014)(26005)(966005)(6636002)(64756008)(9686003)(110136005)(186003)(54906003)(55016002)(8936002)(38070700005)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?8+UqB4z04qrjCJ3pFRZEqneH+fDGj50raDyfp0RA3I1zUW7YFuerKmJgerf5?= =?us-ascii?Q?IWX0RYL60RVDHRDOq4QRaq0bmKKRYRKQfl5vhR9ub59jOGnkC2Iez1EfgPUB?= =?us-ascii?Q?XvCyQz6PXDyp99yOtC07VSq4kd0dhGy4rTd56IEQ1aYHp8+ekgpbGQYJ0F3G?= =?us-ascii?Q?VePTY6oF6IuND9VZC29sbKJtaHOjv5UTfixNppnMrYAaR1QNLA/29iajFShs?= =?us-ascii?Q?Ixesmw6ls/a+tkBEmXjjLNTzdeuMDy/V3qyoSwDFKYwJgvhppkmqftKyGVkD?= =?us-ascii?Q?6q7RD0zZ2VrAnGAR7+c15i85C5yMG3rsaXclBKlpt4oDDg7visU2GstPt8L6?= =?us-ascii?Q?dRfCKOpGIWl+srAx2VNJ6fSq/mN4WY4nRP8e/YahqYDrda6jrmUq3I+4xrW4?= =?us-ascii?Q?7NHY0eUSgYD+L1Pr4DAggd96vuSHquOOS8NGOeWo6k+vBtUd8Gk8LcvUjw2B?= =?us-ascii?Q?DeUAe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R8D4lYkeNWsSaVwfQ?= =?us-ascii?Q?YxgdQzaNAocUDF7CezsSnvXzavMHa66utWXKYCXx6K3kv7/AveInYsGYaeRs?= =?us-ascii?Q?B35dqA+mtD4x1x7l1Y79anjOBwkS7neDOUKipTDWUlmfXt5mX7FrW+be0uqE?= =?us-ascii?Q?QEGw0CNtlBCb1xZXS1jbi3wLDYG9a/77SR8+U08r+L5qFu3J5G63cDnhdOH/?= =?us-ascii?Q?5XSXLqjPAdhGh+ZsuYoUGKiAMJFWt8FOcwzc24bC0Pk6HzlO1zDmoqon1I0R?= =?us-ascii?Q?8A=3D=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: 16ba2119-a8af-4175-1cbe-08d9a06c0d9c X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2021 14:53:39.2672 (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: /fmAS7sI138l4eJCNTzZouno8Ir9PEJp4pTihitzak2adyFR8SXjIbisySsz5FX4FWrpH1yixwMUN3VN5la4qg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR11MB5633 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:23 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 > 05/11/2021 14:18, Xu, Ting: > > From: Thomas Monjalon > > > 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 Librar= y > feature. > > > > Current rte_flow raw API is utilized. > > > > > > I remember raw item was especially targetting encapsulation action. > > > Which action do you achieve in ice PMD? Only RSS with raw item? > > > > > > For matching, raw item is quite limited. I think the new flex item > > > is more appropriate for general custom protocol parsing. > > > Did you look into flex item feature? > > > > > Hi, Thomas, we make use of the API for rte_raw to achieve our protocol > > agnostic flow offloading method, including RSS and FDIR. > > Behind it is the new Parser Library feature based on DDP, >=20 > Where is this parser library code? Parser Library is committed before as ice base code. >=20 > > rather than the original logic I think. >=20 > > Binary-format pattern spec and mask are passed to Parser Library and > > the corresponding protocol ID and offset will be provided. >=20 > Sorry you didn't reply about the new flex item added in this release. > Do you know it was added? > https://git.dpdk.org/dpdk/commit/?id=3Ddc4d860e8a89 >=20 Protocol agnostic flow offloading is based on ice DDP feature, although the= y all want to make flow creation more flexible, I think it is different wit= h flex item. @Zhang, Qi Z Hi, Qi, are you familiar with flex item?