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 5A8184415C; Wed, 5 Jun 2024 10:33:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 22099402E5; Wed, 5 Jun 2024 10:33:50 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2087.outbound.protection.outlook.com [40.107.223.87]) by mails.dpdk.org (Postfix) with ESMTP id 7D12E402DC for ; Wed, 5 Jun 2024 10:33:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L4f6avseIKF7hz9jqeB8DqX3tazF6xr2MuUbTWWDKQMt7/1dqfuU4p793p7sVAjr40GhbuVr1ePlAnDJI0cHKWu3aJNaHi+Mwvjrl1aTO2YUp/A/oVmE2406uRP1EBi6lmYppPgQDkoSi8yfkEvzTeEvC4vMAgVJbCO5IyuMPXdJvBawtNN3jLB2CM1kM90cZcZxO7/7Ihtbgc3kbTz8nxQpyA8TKCAMms2E2I5O+SZYEhj6whvPSjmgtFT5eusnY/xeYguoHBFSeMlZkdr03VIBuorindWhuSlsS8+4ezEz5WgUKdA6on+MNfzpbwkVFdVvlE5H9DLSE2sg76sAPA== 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=JN5L7s4RuQg/bcmpZXEg7Y5Euj4WEtLLpINGCwNkV4I=; b=U4zZ1Y3LPdBxRrgKhAcYyZ9EowCXQKL1xTfndLKTFzK8lDPgm4sj1Fy9qYe59G3ub9/p3aRX5pCXX51hZpY7Vmkuz5yBYS4cFFMGHhHZeZPzz72Q+tA61zUvHjW0qjD6HVb5O5pDVumCR2Gsot1fQ1Xvp0/ANRb62jzFPDBm/PTUkSdYTi1KSpSDtfDb19CWBlCZNmScoSeAVBTSZROaOJ6buj/GPSEGCB0lqGnS91Cvcm7Sve9vLDbT9SLQec7YEQJgF4k2wrO+FMz43dOsqDkWDwqdOEp/WH7GvuCX7U7I7pWJq1Pq1A3EVmLCtQ3FOXVTA/Wa9R1Chc9277npVA== 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=JN5L7s4RuQg/bcmpZXEg7Y5Euj4WEtLLpINGCwNkV4I=; b=rFqkNhA4/5QC6AYVF+eGziIKqV1ISGvGc1t9n2kfqWOOMrcYSCd+xKzT+yeO7nb3M9op9uXPiIlJGqfOMsBOu7t1OQ0r31viiGEusJQd3ByT9G0t8K2LK9aaAe0bxobRTcvysTg/uWo40I8gjL+ViATAFfzzDYbfiR5XViopfA1GbiW1isiUA1hVa4tsCKFTe8SFJi51AKmMuqtdEy5wAQBlnpB3PjGIInVfrVpVl3IXGvr6DgeYIBPatEXGCdLZfhSd/yuh2olpPYd0NXu7UX9GhGzboD55q+yYsHSIkBDEkhoj98oZfvW3SsnF4JlEqFhMffY53dqvjWph4CxUZg== Received: from PH0PR12MB8800.namprd12.prod.outlook.com (2603:10b6:510:26f::12) by MW3PR12MB4346.namprd12.prod.outlook.com (2603:10b6:303:58::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31; Wed, 5 Jun 2024 08:33:44 +0000 Received: from PH0PR12MB8800.namprd12.prod.outlook.com ([fe80::bdb6:e12f:18b6:2b77]) by PH0PR12MB8800.namprd12.prod.outlook.com ([fe80::bdb6:e12f:18b6:2b77%6]) with mapi id 15.20.7633.021; Wed, 5 Jun 2024 08:33:43 +0000 From: Dariusz Sosnowski To: Suanming Mou , Slava Ovsiienko , Ori Kam , Matan Azrad CC: "dev@dpdk.org" , Raslan Darawsheh Subject: RE: [PATCH 1/2] net/mlx5: support match with switch manager Thread-Topic: [PATCH 1/2] net/mlx5: support match with switch manager Thread-Index: AQHasw3szPSi4gH2QkCALXl69t5CQrG426bA Date: Wed, 5 Jun 2024 08:33:43 +0000 Message-ID: References: <20240531035144.1732054-1-suanmingm@nvidia.com> In-Reply-To: <20240531035144.1732054-1-suanmingm@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: PH0PR12MB8800:EE_|MW3PR12MB4346:EE_ x-ms-office365-filtering-correlation-id: c1c450ce-1572-468e-efcf-08dc853a35c7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|376005|366007|1800799015|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?+ef9/nR42ZXU6CQNnR7x935ZbvmeHLq/O4C1pHUaHlANLL7PB1JrwXHwnHep?= =?us-ascii?Q?ddlYBQvWQOnYCFAfosLhU3fOc2vbaeyvwAvu4VS1pLk/ui9PV26WbXcQ2FxN?= =?us-ascii?Q?s6wyJj/mS2+W0o/rq1Xt1jIKKWPoY6uUJmf62n7ItHsqxVlDyKL0+YJPUqlB?= =?us-ascii?Q?oqlGQUCm2MojxydXpRXpHrCnESQCqlTSaQVMcx4wglls69fbLJa64VpsmtEc?= =?us-ascii?Q?gfw6xPVKmrHS/vZ2Hglg2ihQhy8sC4bYRG0Piamp3RhCNj6xGzKKx73k+15T?= =?us-ascii?Q?HlHVhO3R0yxH3wi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?= =?us-ascii?Q?Z14WkIOvbQDuHnsIz95AMgEcVGjpj6Wkwsrl+I4/mYptqtdm76Cl+vAeol+V?= =?us-ascii?Q?j7qZkN5N3d1ch3r3wOIzCq7u7xieqI3ADmxDiFbyvnRYbT+Tz0iX8zNPFf/K?= =?us-ascii?Q?5J1EqF6cgat9GHoCcnDgOTrXHjL+WkFumStNqx7prmJaYw=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR12MB8800.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(366007)(1800799015)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?8rn3nW6JO5dHiYZ/7mhcXGQ3HHBjG7LaGIp7fyCr4G0bCC0deyNMEktXPny9?= =?us-ascii?Q?MvHB5rAcikEnL9nx8FCVLhrL9Wjl2wDMyvqLYPaJQTLClum1o7AD2x8gVLiA?= =?us-ascii?Q?TnpyYCIp+VhtayEKq2r989ZOO9NMsV4Y4DV+ED80p5od2B9WOHgKC7S+MvTI?= =?us-ascii?Q?QZTWP0SjULrqsOrzVZG5bPNK4vto4LaqdNt0eC+yZ3gbByrCc+dfUQpfCSZC?= =?us-ascii?Q?h1Pg3GGO2bCWK+9nIjO4Pbg6CrwK/FqYYHNeJrUZIxRfK/i5xHbxu794b3De?= =?us-ascii?Q?g92K0mOHiwShkNZDM477itKPSPbd55m6LqgITzecC0WrHBXrWGv3dC7nnTQU?= =?us-ascii?Q?ztbN2pLP1EFz8H4CH+naxpuaoz2w6RpAIN4yuuUhaFaAJ+bzaFNjE4ABdtze?= =?us-ascii?Q?eqqnCd6mxT/h/fgMWUidWXfqZL/XE+eI6eDfOMiEa8WGX1BnyV3QOvu391da?= =?us-ascii?Q?/h9vIUdNcQ1AxSybyT3MVQMhMiHm3tWcRG4uOLPZvLkDS2EujU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zxj7IYSurL9NF0MC6UYxeuo0ayFrjDJnSJxsp3dWdzyevUZTdUCv0pXow?= =?us-ascii?Q?im6AU0SgkCfydKPwKUyy6wltFQuT7y1FuxNM7sFFyXbZ0+zZTz0fePs92f2T?= =?us-ascii?Q?l1LpJ3s18u8a++rD9h5bnDmnBPdUo8tU9cPk1+PD5IK7N4JuzyYSNRsUCLn2?= =?us-ascii?Q?R368f+PF0ArltOehXA+SQBVL8QVtH4IboypsMEUl?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR12MB8800.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c1c450ce-1572-468e-efcf-08dc853a35c7 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2024 08:33:43.6501 (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: ptNSZj8vphiPhRMH8Mk3etYCdPvpDOie+cGqqHk6OrBoU1UY85sHR3Np+59njNxd27Dk6iK+26Gkvdae/5yRYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4346 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 > -----Original Message----- > From: Suanming Mou > Sent: Friday, May 31, 2024 05:52 > To: Dariusz Sosnowski ; Slava Ovsiienko > ; Ori Kam ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH 1/2] net/mlx5: support match with switch manager >=20 > Currently, in switch mode, mlx5 PMD only supports match with dedicate vpo= rt. Typo: s/dedicate/dedicated/ > There is a usercase which user may want to offload the rules only to matc= h with > all the pkt sent by application not from vport. Typo: s/usercase/use case/ > Since the port_id info of pkt sent by application is switch manager, and = kernel > driver has exposed the switch manager register value, this commit adds th= e > support of register matching for switch manager. Let's expand pkt to packet and I think it would be better to use E-Switch M= anager, instead of switch manager, since it's an already established name in the doca. > @@ -84,6 +84,7 @@ New Features > * **Updated NVIDIA mlx5 driver.** >=20 > * Added match with Tx queue. > + * Added match with switch manager. s/switch manager/E-Switch manager/ Could you also please expand in mlx5 docs what the feature allows to achiev= e and how to use it? And I think that both patches in these series can be squashed into one. Wha= t do you think? Best regards, Dariusz Sosnowski