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 17D844415E; Wed, 5 Jun 2024 17:14:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD6964067D; Wed, 5 Jun 2024 17:14:44 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2066.outbound.protection.outlook.com [40.107.94.66]) by mails.dpdk.org (Postfix) with ESMTP id 5BDB6402E5 for ; Wed, 5 Jun 2024 17:14:43 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DvUW4AuEXmPaFFzLGIMK9dXtg48QvBqoxsET4WUwKlHTTEKvRxE1cZLisVlhA9DTc9yHwmXBWQc5c40itm/Jy7I7U/9EZjBEWDNO3zBCqVd1i8uMKJBUqvc+0ni9rn5ThHimAwFO3dWaMmhP6ceZcuv21bZGSU4UdQlP6UnizAfm3RTU+uQcxgdWGGE2FkKyn5dxu/RFpAX8nh2io3kAVT45yIqeDchOdR6/5emJ83Ji+ql5/Gt881MdjFwzpZF+7TBnOwjJ7OV99+cmGONOLX40NzBlnJ1UfjWN1Zd/cjDHMClRdnuQMvGS1IHe2ZngDd4TPg8vbUViOJqbPWKv0g== 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=1fUWpk7fgN7C/rCSO5eIwfK8LJvfDO9tbXuBhCNN/Ws=; b=SygygtwZSHT0QdPZ3caHjRjYmrF9HyJLWt9CjXVbxl5yzvjkSY9HyC4fAl5ZPaMLvgSl3Fyc/PcwLIVGM6SGXX3hHZs42ENlXt3LBEm4uzxArmYGaSlRmTslgOBEkpcOZf9rB3Qcus1aSnuVcLRrbeRtGEYAoPZhE6UOC0ph0ZkKqJHh+Yp5CzEW9TQB3+eu8lkAlM1Bwi7IPpM85/4c0SRH74BFaXilN+mf1JohG5uFO//i52XeIfeBr1vvd2hhfeDYqpTeATha9OWC+R72RCL3JDyWvQci80OUXagvEY6N5O7MoTnk+t0b+1gU2c7uiC+r+xD8JlfQVVeNYo0XFw== 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=1fUWpk7fgN7C/rCSO5eIwfK8LJvfDO9tbXuBhCNN/Ws=; b=bUgVEdXyJIAlilEfZNTLQwMQaLmNseNFOPA490uNCVD/wdb3vX/8eAHEynreIJXd3TaKLTCT0ybOlG2DqLQVuBsHV/ge0btRRA1lwqa/361BQuXDrY1nB9zBPf4qYKfDdqiWfbl9IdnUo4QDWWXLmr6FP7X2uQUDAXWD0SGi+6YoC9b4GgmuG2CjMXkOgDLSrrEqLx/9MeHo9HZ13Ap4/Ewbd3oEpi5vFcskPVaeyvQNlgup6KY7U6fke4ffWKNOiwfzrWgpTPYCT9j2wbA5n4A8g/RisGnGmouMwUtpFEywsu0bAhVNbv3sTYshl5VAbjcx+N7evXrwTTvSAjgXmg== Received: from PH0PR12MB8800.namprd12.prod.outlook.com (2603:10b6:510:26f::12) by CY8PR12MB7754.namprd12.prod.outlook.com (2603:10b6:930:86::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.32; Wed, 5 Jun 2024 15:14:39 +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 15:14:39 +0000 From: Dariusz Sosnowski To: Suanming Mou , Slava Ovsiienko , Ori Kam , Matan Azrad CC: "dev@dpdk.org" , Raslan Darawsheh 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: AQHatywLWkR/6njrGUaejsieD+efzLG5R65g Date: Wed, 5 Jun 2024 15:14:39 +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: 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_|CY8PR12MB7754:EE_ x-ms-office365-filtering-correlation-id: f6794501-9d70-4257-0c07-08dc85723834 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?QUBEuAt3hy1sFMsVctqYkDUWRsC4w2WijndLwfdgSOfIsqzusRrA4n/cuEDh?= =?us-ascii?Q?quLlAAV9yaqeRLfht4id/b+M6kzpg/krSBpBOdvciaxT4qntAjEYhucxMFai?= =?us-ascii?Q?7mAc568rhq/PLc/+VHJroqg01m7FNO1gnu+3jcmLpRu7PZlR3QMLSKK+obVs?= =?us-ascii?Q?pqovUFZ9ENv6iM3gMpcYh+kdQwxLKvDtj6CFJNtqbxedS0Qc2ROS7Pfg1wLr?= =?us-ascii?Q?7HS6AosD1gZcllQNbEMhDd5gb05SV/hWxhw+F15xGEhrmd4VtgoPkRwzKfP3?= =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Q/rPLdQ4USH3LvUJqAT6l/98ZN1aUvpJm976yJ6?= =?us-ascii?Q?mLJc3mUfzN63CHAe56rLHQlYFoXzUDHrhXerjqKC6bVLYzp7gXYzD0cFls3M?= =?us-ascii?Q?1aXbNscyVkafrn7KYVFs/BcRiGP53IWefaDNVUe+lEgDHZ9oHxxSas/kLVaz?= =?us-ascii?Q?XrbVFO5p5F8GEPHTPzYyIuTesdWsyytn/gcbhhUwo+VYawaxtTWpEGjpDfZe?= =?us-ascii?Q?A/qQop0=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)(1800799015)(376005)(366007)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?e+Y3HE/fzAYEdIJLq0/ZpXIgwbzTF0H6hANg5Hm0WlaTB5GiDjyZMLZYAiF3?= =?us-ascii?Q?XbDMsmkdobkDCandCRkIA8xQXGExYRXOnA7NLGhNluJS241OowsK6Q1TZs9q?= =?us-ascii?Q?ZBlgi1E4n5jY9tsmxJ8JezhlAf/+BD3CC1rEz8Yr2EhKGbN2El6MjNCYzx1w?= =?us-ascii?Q?mDkmSO3f4YlL38OdEEsZsLE09kAnbmAezNLNqgV3Gs0Mf956xiGqdfgFCmjK?= =?us-ascii?Q?b5q8CNB+2sfZNBjO0qq85plWyiW5ydWbOaFNuTfpxQ2Az+LuFXLwyC2iK7pG?= =?us-ascii?Q?i2NzEA2BeoyjlV406Nn+F+xymtJg5nAH/0azuPecm/FDARjPrw5heyoCWKK7?= =?us-ascii?Q?q1r5TMWz2h5kG32lPKsjn2XV/6twtgxVbD7+KKWHAZUAx/E8qtHgZdLSc5YQ?= =?us-ascii?Q?s/jl1LtjqJEAwykOeM+TTFMXkh93T7pN5/UaJvejUefT5jD0lEBimL8m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uk5ZsHrNdi5x+ID7WtTshvGVfxC4lXuYCBVCqeO3?= =?us-ascii?Q?JbxKdl5ZQOHF+nQZIcvtHvnQ4BkkA5srfGf84hGIhjp8HYgYgCvp6Ew7UWUT?= =?us-ascii?Q?vhU4vsj3c0SzfkRCZ+9Q41sts9cv85VhfK1nw+u0TfLorcK/v3mDKNuH2NjQ?= =?us-ascii?Q?1FBg8e6P3GXaTzUjEJj0BX+0WvOMLBcqCffVKi/Xfd5He3seS1TZcv88d+8E?= =?us-ascii?Q?6wye79z8eTC+MSgHqcFZxGrqtNCePRXKPnfchLi5?= 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: f6794501-9d70-4257-0c07-08dc85723834 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2024 15:14:39.5155 (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: J8/dFvryAOLV5Jg3Ep53/twXFLNQR9YKQWasANIDdoSS49bofCce1IFZgQpHgp1fmxjvq6EQtpymXPzShNkTaA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7754 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: Wednesday, June 5, 2024 11:37 > To: Dariusz Sosnowski ; Slava Ovsiienko > ; Ori Kam ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: [PATCH v2] net/mlx5: support match with E-Switch manager >=20 > Currently, in switch mode, mlx5 PMD only supports match with dedicated vp= ort. > There is a use case which user may want to offload the rules only to matc= h with > all the packet sent by application not from vport. >=20 > Since the port_id info of packet sent by application is E-Switch manager,= and > kernel driver has exposed the E-Switch manager register value, this commi= t adds > the support of register matching for E-Switch manager. >=20 > Signed-off-by: Suanming Mou Acked-by: Dariusz Sosnowski Best regards, Dariusz Sosnowski