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 18F6744164; Thu, 6 Jun 2024 12:51:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 01C6542DF0; Thu, 6 Jun 2024 12:51:39 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2072.outbound.protection.outlook.com [40.107.92.72]) by mails.dpdk.org (Postfix) with ESMTP id ADF2C40299 for ; Thu, 6 Jun 2024 12:51:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vj+YETXotsFAsXCx2KeSNKKSoXvJg9v03gRoHWMji/gF50bKS+R+o/foqBpjDm1PWHRlDqiS0fRxYMo8xQTi5hpE6VW/2PtsiMDUbJf/fyqPZLb1+OeA+w+TlQyywgbmuWv4Cwhb/DWNMa+V5VRveU6CNh1dcQC7RkZhqwBlt1ninw7VMDSnqR0EHbgF4MRE9SbpsRzjp/jo3wgaoBjd+POGJC1teF3L9SabIpbplQgUE3IODhCs6MLu8BNq14q61I//0j+sGSoQz6/JXMn/bVduSqyoB5bkkKw+4acTod2U9W8/jDBYqQFxQTbGIRpcOvUkmxLV/kzlVS6QGPV+fQ== 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=nYb6PwXiIRDS3pZ+mZ8vxlYyB5cdsefojZLLCkCC/cs=; b=KEBf6bEbuqd8CSprH8qWZAhLhFs22bSN5iYPxYHmRTW/8fJ2eLR8K9P1zL9ScLb9XaqF73quTzOPej3nE1a2G32hVpiLi+udLt00CFtIUJ3UW7vJgHUs1Us0ucmU6OCetDb7uUYg1e5FgTEk7lyaHxXR6N6OamdeWN8k2jweLg91VwE/dtqtrlsLCY7VaqIwQ6niRvuBQ2epGfKo6o/lCqg2TPGmMObpuVdOOfznCAQCpEjG87xCXaR0aSAQzM2hawCIh8yL9H2u9gvGqUadC36r+u0ZRvEzZuJgmSYxmzosbkmnKQ859//or3q21usDkufof/98yTOeXatqh5xe0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nYb6PwXiIRDS3pZ+mZ8vxlYyB5cdsefojZLLCkCC/cs=; b=lm9rD9lstpb0mLlVxnjVrELM+K5ksfYuEDKax57TW1ZSAldMeLUPlBxcUS/IycCBTFeaHLN54aFHWzZ5hPI4yrbjQgoWI1NU0jJ/ZjvfTdackDH9BnCGg07aLzPPduGdw4DZ16pRRzeKMCNCEIW6NAPT8Cg3wu/KzmoqVeZrZvuXDK4x5tPPHgedETxnp15cDlTMjO+G+leEKv2AzWuNCXlTViKsIUm9vadokdiCJI7RQZSFrYeKjIe9VShyPVuWvhbtVVlmLukcA8qMtRNtiCM8ymsu61rWzB0qHuKl8qZgLZjE25Ydh0teTzDteNRiZbxkoc2Os3+NQaz+B3PTiA== Received: from MN0PR12MB6056.namprd12.prod.outlook.com (2603:10b6:208:3cc::12) by MW4PR12MB6756.namprd12.prod.outlook.com (2603:10b6:303:1e9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Thu, 6 Jun 2024 10:51:35 +0000 Received: from MN0PR12MB6056.namprd12.prod.outlook.com ([fe80::4b75:36f4:f278:fcc0]) by MN0PR12MB6056.namprd12.prod.outlook.com ([fe80::4b75:36f4:f278:fcc0%4]) with mapi id 15.20.7633.018; Thu, 6 Jun 2024 10:51:35 +0000 From: Raslan Darawsheh To: Suanming Mou , Dariusz Sosnowski , Slava Ovsiienko , Ori Kam , Matan Azrad CC: "dev@dpdk.org" Subject: Re: [PATCH v2] net/mlx5: support match with E-Switch manager Thread-Topic: [PATCH v2] net/mlx5: support match with E-Switch manager Thread-Index: AQHatywLB/93oV+BG0iUiKVvemP5irG6kJFg Date: Thu, 6 Jun 2024 10:51:34 +0000 Message-ID: References: <20240531035144.1732054-1-suanmingm@nvidia.com> <20240605093717.1826380-1-suanmingm@nvidia.com> In-Reply-To: <20240605093717.1826380-1-suanmingm@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN0PR12MB6056:EE_|MW4PR12MB6756:EE_ x-ms-office365-filtering-correlation-id: e4ce5021-67bf-4079-4d1b-08dc8616a248 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|376005|1800799015|366007|38070700009; x-microsoft-antispam-message-info: =?iso-8859-1?Q?uBtQ/kIbHC5/mysY5HJJjNK85uf4J7tPD7IUdYISzNJe+ymqvmSseKL5h1?= =?iso-8859-1?Q?kM02YuwtLakB98nsvuDjWre0LoDHFtPzAO1+yOvkz4p7Y2QwGObUd52MJ0?= =?iso-8859-1?Q?ZPnWxF0jnV2VNXLWJOc/eBRAXzHe7YQdDOr3VORSUf26kX3H15E/aki8FD?= =?iso-8859-1?Q?7a/Ar8benQOGyJnYyK6IGLesxu0YJRZiP+ipDmRWDXVWJGCADOzz11TB7B?= =?iso-8859-1?Q?s/kfD7bRzGDNUv9j3LXTt8D1dnjk4cGZSCM7lyRVnmidACgnYzP/4XHl3D?= =?iso-8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Wu+WPVHzl3+oszABfhqFhfgAPbxb15Gws3Ymj?= =?iso-8859-1?Q?dNFlA+ZehBIDP+kw5nvFp/cBLOi3Rvot/c1Ijyd8xdezpzYuP3bIhzjPUm?= =?iso-8859-1?Q?Ni3RIbAvtBgvrVWdHcQerxKaoCuhyUvbj8czj6u/ejE7oA5jo5WOtRfEAe?= =?iso-8859-1?Q?R2wPjNl3Abew8IlgeK/Fsjr+BEzRhL+5fE3jxjIhBaMQ1m9nGN9L2VnlW7?= =?iso-8859-1?Q?J2A9Gpxk0yJSWNF9272cge7j+XuhBUTT4UxEAl8bWguWjTgUvZR/A=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN0PR12MB6056.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(366007)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?qRlrT3kg2cfq2MN7Wd7VulujF23gsAZnLyZzpGTDPH7BYp/4HhaHfyIXt8?= =?iso-8859-1?Q?7CpUxRjkdPjKKWwIehSstXhg6Nsh6sAaaTkVyAHyDfWZ2aZgdY+VyupcyG?= =?iso-8859-1?Q?81FBcPEV0eQNirxrBJmYwVAjFspjtfSLZugMADZlrqvVDTJK3myJn0iYuy?= =?iso-8859-1?Q?cnEPWKkLfxdFs7k9DNU+Ixyy3+5907K/dH4U5Yiiv7RU0LJsqaEkoxt7Jf?= =?iso-8859-1?Q?YlTOITlItYX9jbM4ygwDx3UfyA6hOGkQ3BXGVipKbpCz9gnIqmHYXQrUeC?= =?iso-8859-1?Q?oIPum7hR0zM05JRWhP6xbATK1d8JEx6+nPGTRX6wEP77YBM2ehQeaPPv+U?= =?iso-8859-1?Q?/Zb8+8L1lyZ70dIcevoENS9Earu1UH4dbnvKJVlLVT5HFO6P6drf3ldB+1?= =?iso-8859-1?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Skhzo2ZPGg9lf/cPg?= =?iso-8859-1?Q?Bp7OKjuK+y3a5t2yD44nksBs6ZBAzAHd0pJf5Dq6qQGBsgRXgc+xCIu01Q?= =?iso-8859-1?Q?cY4n2jtO9NqjxrjV/1F6Hi/xFJtViTuG2BCV4M1FlqB5K1+Gr9rIqOSW/g?= =?iso-8859-1?Q?jqJmR7BUwN7U0QQo8+syxCmUcWi3eJO4mAirYMnN5cEJrGuv2qqb26NZCW?= =?iso-8859-1?Q?3fgGPU2QH/WHL7P/ZDtlqhJnJnhbf9GschGtKqm1fGcTn3+RSTziDc7Lql?= =?iso-8859-1?Q?UGXsTYWLhEI7UShRxWwFYY1o0fnmxn7xed9mbrJSygrjkOwQExK3hJhT14?= =?iso-8859-1?Q?MsmvklNshbci0=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6056.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4ce5021-67bf-4079-4d1b-08dc8616a248 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2024 10:51:34.9651 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lJ1HdGP30IIJSovWmWBCMnRG0mmI5LX3cUGY7LsF99kP6bmzNAyZTWnNgrWVwouG3p2lex39WQ7tRn/4maqvZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6756 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 Hi,=0A= =0A= From: Suanming Mou =0A= Sent: Wednesday, June 5, 2024 12:37 PM=0A= To: Dariusz Sosnowski; Slava Ovsiienko; Ori Kam; Matan Azrad=0A= Cc: dev@dpdk.org; Raslan Darawsheh=0A= Subject: [PATCH v2] net/mlx5: support match with E-Switch manager=0A= =0A= Currently, in switch mode, mlx5 PMD only supports match with=0A= dedicated vport. There is a use case which user may want to=0A= offload the rules only to match with all the packet sent by=0A= application not from vport.=0A= =0A= Since the port_id info of packet sent by application is=0A= E-Switch manager, and kernel driver has exposed the E-Switch=0A= manager register value, this commit adds the support of=0A= register matching for E-Switch manager.=0A= =0A= Signed-off-by: Suanming Mou =0A= =0A= Patch applied to next-net-mlx,=0A= =0A= Kindest regards,=0A= Raslan Darawsheh=0A=