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 EE3484415C; Wed, 5 Jun 2024 11:30:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CFE03402DC; Wed, 5 Jun 2024 11:30:01 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2057.outbound.protection.outlook.com [40.107.223.57]) by mails.dpdk.org (Postfix) with ESMTP id B305240289 for ; Wed, 5 Jun 2024 11:29:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lru8bxwlDo04L2P0nWtgK9DmDhguj7/gHiTbmLSV5/gkUhdyR9YEHoYGQJ30pI9lSyA64LuhirOTFN5GuPXQGqiW5X+jC3TK7fWk9lykKxpEc+KjgcYalDSs3A/yky4pedalE36CxEwJ19AGKpRA6nnAPpOPkIhN0IrC8uz/tXFvuoKgnt35KdYb8sh0bkVWgv8N/d3MqXjhiJRMvcVJwGJbP8LlAXrBcUSRRalrtUk1NBj1+FDeQWuUNlX6RI7ajDr3THlznlLFgx5NQ9uCQ8oZ0+bYue+GyRf1UuanHRRCRO5W/HkDXASOCxUJh4pnxyTX4UfOZqiGwbMBfqfKjg== 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=pkOOrrWSLsLgrOSxd7gcHpU6BYWmvIhHKtd4maNGMl0=; b=fca/Gf0D82HMHDGWHo6u2Adzd184ySJm2gxXqCSVSr1QKkrNnhgZN1FhF3nlD9/L3a8gP1IfPOhRjpA31MaseSXm5NJqhLBdfDpODBsOtvncwu93FX0HNzxIEGSJVEn6eE0WqiiWXhllxXujzqwW7+4Ne2BdRRnxreNGRASCYHDdwefI2nK6aamDo3AyW9tOgs5RtgqH7l+TyQ9BYUi0BCe/q1i0Pv7MpaEeceg+faCuE7/WQEvUHaxHiPfSnPqAeTbEk9mBf+VunrpyythDY6CaDCIysBV+tVvrnXfpky6HM4ehnUOI7eyBTNogG8rTvT0Gchv0R7tNe9ExY0zJ2A== 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=pkOOrrWSLsLgrOSxd7gcHpU6BYWmvIhHKtd4maNGMl0=; b=HBUSVK0dGRmeZIzhPx5zenDTbfO+DVOhei3FLq5yq12wHoIbuKVrOSz1NSPgIcDr5x+fL8QehiSO8zKcb5wesVv1jTcq74VDuZ5Rg0R2SH3dAc+crIIkNsRae5hvlkLS9YTkxdV6n1cPF4vPPCigc6zo9QSGcJcZp7nCO8Nt2v8zIm6ZrF5vKYQCFxMqxLyRVWnR+ir5RMT3osv+wOXeKjEO0k7E680JxJCnBD/IGE2D8z2/fW56OJ2G07S7BtrtCOy9TyB+SQNXiHL9f1WRSNqMlQ79l8PHThwDv+srCv78PpgUexs0nI/B1Hb6gcrTAQCxEE6pOHRcbPek1oR+6A== Received: from CO6PR12MB5396.namprd12.prod.outlook.com (2603:10b6:303:139::8) by SJ0PR12MB6733.namprd12.prod.outlook.com (2603:10b6:a03:477::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.25; Wed, 5 Jun 2024 09:29:57 +0000 Received: from CO6PR12MB5396.namprd12.prod.outlook.com ([fe80::25bf:da1b:77ac:ed7c]) by CO6PR12MB5396.namprd12.prod.outlook.com ([fe80::25bf:da1b:77ac:ed7c%7]) with mapi id 15.20.7633.032; Wed, 5 Jun 2024 09:29:56 +0000 From: Suanming Mou To: Dariusz Sosnowski , 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: AQHasw31fAmz/LeE60KuWFLCabNVIbG44AmAgAAGFWA= Date: Wed, 5 Jun 2024 09:29:56 +0000 Message-ID: References: <20240531035144.1732054-1-suanmingm@nvidia.com> In-Reply-To: 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: CO6PR12MB5396:EE_|SJ0PR12MB6733:EE_ x-ms-office365-filtering-correlation-id: 95a1819e-cd54-4c3c-6e8b-08dc85421052 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|1800799015|376005|366007|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?JeePaPXY2hMPgfjje3E3eyodGUs3zhCZu42yZQKBnvxbq4gg3FpL/5O7Xr3K?= =?us-ascii?Q?H1Ps9mYG304gDNqC+SUt3CVACAGzZjVMYM7rUDzLzDQmhRWYwqlTl3nkUGWk?= =?us-ascii?Q?9y1JQVD8e4q68dozZXyeQrbsxL0MD0ampd5zmMIIRLj8e6NC7kCtl+2TtGbA?= =?us-ascii?Q?DNROPsUfSmfM5Vrmpq0oKL+JfVrLSnLyixi5I3GgoXA/XFj/2wn3a3aa++Y/?= =?us-ascii?Q?S/9XvWZ5cqez9W6egzBJ5l9QzbPQ7pihC5VEP0nlrNyh/tRqHPt+XkPP29gX?= =?us-ascii?Q?ueM/upyeHu9z9iz2QYgQHii3X+iV1Tt4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7qiQx4L/VQUJVxLaQSLHHA5zz4ath6MISWraKi3hGPHDR0i1919QSn?= =?us-ascii?Q?wfI5VznOoL7x6To0RGj1mAP1yKEO9UidiPWA5906ChQep5tiGdfE2XW+auNK?= =?us-ascii?Q?0QnotAVePutqFbWRj6kFYAfj9afMsu9lt47cmf/Lz47KDA=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR12MB5396.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005)(366007)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?e4ggQvlgZyrXeqNoI/JVg9SJ2jUGx+a4Rib1ZHH75m109dMFTxiWoe4/vqAQ?= =?us-ascii?Q?H+mZ2ueG1rw3WYNDgGk7E8Sw0Hd58E9I80aW7UotJ+dSVEmPKTZSN1i8JxYE?= =?us-ascii?Q?0BAgyq8nWaIIrJZ04NGVi1HUqA7xVj7/zTfxt3iQM8MDE1wXWlZeThpY4r36?= =?us-ascii?Q?8wKnFD0HyV7jeUsaZjA7xdR0YP5Z8Ku6hY7rof5psmeDqzMjM9u9N/kqu/tG?= =?us-ascii?Q?SZbB7WJb+2KqRgFg62pxOVu93vFXuxql3f9pZWwX7xBu0FrqEChyQvT2S4de?= =?us-ascii?Q?Z+zn79+Xd/djDA9h/8IYerbFMyqTeuOOWLeGtQKw838HPh2N8IMwwxRCcCEH?= =?us-ascii?Q?V4Usc0xqKOIyrh1ac+cfYwewlr6v3t+GsgIjOVuu8XTOIH5Rh+9yZrC+YMfn?= =?us-ascii?Q?x0gBCGxdSMjKHi3utY5hTCZwgFcLksv4RlMG55m3C18xqu+Ly9MoFubHSMvh?= =?us-ascii?Q?HDdr3xXsLYqu+Rot7QgeWuqL2JU/pu1evTSfLRzwQ89x/+67o4+gw4IeyiQf?= =?us-ascii?Q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01phC46R9U?= =?us-ascii?Q?r5nS0J3Ps0CSeochM7GydVbLjMirhDtFTOyAvRYXSowW5KX0M+JWOHmzxG6U?= =?us-ascii?Q?KSQopOUKzSKdWatfgxID6uKbozZh2jBHQneWTTN43RcFungxCSrnt4I4v7hL?= =?us-ascii?Q?vmbwTc0Mt/UeuRcd07rWt3yKX01Wt2mGTZ8q6tbZ?= 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: CO6PR12MB5396.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95a1819e-cd54-4c3c-6e8b-08dc85421052 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2024 09:29:56.7640 (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: +tWz9ncITfGGEbzl8kuayePG14GRVVBnWl+c7jQO0nk9dwfjtCHADEUBnvAGrYovL8DuiI5nUJZSsTkXdRx9jw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6733 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, > -----Original Message----- > From: Dariusz Sosnowski > Sent: Wednesday, June 5, 2024 4:34 PM > 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 >=20 > > -----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 > > > > Currently, in switch mode, mlx5 PMD only supports match with dedicate v= port. >=20 > Typo: s/dedicate/dedicated/ OK. >=20 > > There is a usercase which user may want to offload the rules only to > > match with all the pkt sent by application not from vport. >=20 > Typo: s/usercase/use case/ OK. >=20 > > 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 the support of register matching for switch manager. >=20 > Let's expand pkt to packet and I think it would be better to use E-Switch= Manager, > instead of switch manager, since it's an already established name in the = doca. Good suggestion. >=20 > > @@ -84,6 +84,7 @@ New Features > > * **Updated NVIDIA mlx5 driver.** > > > > * Added match with Tx queue. > > + * Added match with switch manager. >=20 > s/switch manager/E-Switch manager/ >=20 > Could you also please expand in mlx5 docs what the feature allows to achi= eve and > how to use it? >=20 > And I think that both patches in these series can be squashed into one. W= hat do > you think? Agree. >=20 > Best regards, > Dariusz Sosnowski