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 39CE1A0547; Tue, 15 Nov 2022 09:49:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D9DF240DFD; Tue, 15 Nov 2022 09:49:29 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2056.outbound.protection.outlook.com [40.107.94.56]) by mails.dpdk.org (Postfix) with ESMTP id 4AAAD40150 for ; Tue, 15 Nov 2022 09:49:28 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QCFAyrQCzTlezzO4/G1ywO4xNfYMw6iDdu5jwgjiNvmFXImkO4se3Mxg/vJeqoLho5duvkRP14diu2t1IjyVzbssUAmg6O7N7jJPb14vogqxfSENrV3Ry3RjrpRsJ1dXI+yMjVwk/Uk+iMKuDILgnmePjazy6O7K8hade0wW3z9Dd7a4wFWzHmgZ5h+OgJkV6jGIMogGGOBqrZxTE1CC1GhVzY1YoI97i1oJaO2PGdXDK8hiRsDmEoZfP67h+5N5NxWGNiVmLZyFbnec/9aZK4jsKtLWEoH9cjwcmwJygVNhGG8KlYnQYBYpmd7O87nqXct6O+gWkwgv/yFKTClwDA== 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=vp38kWCXPiQJ7F5QLzLhSOdD5PTF6jXoN05MnPVdOgU=; b=oXMC9WeQ3j5W6s6/Nq39KbbUukxi19OlDTRWCgtcEnVHD0gK01OgvuozPXY+OBBUWL5IchSh6YWPLR4z7ADhgYU1NucYjOzGXpawQ1F01A+enmty67XjX8uOkfRuFmpB8kE+H9+bYJShYdDIPX15ndJqaxBJxz0TWDl1VHjgKiQVnYMlJLwgTYxQjdEVk0/zjU6uTmEHOeYN1rwLbmSzQHI0XfPA9xWC3Wu88Y8tTn80VM35+FbFqWXFhenlElx/02M19+pctl/PtlZ/ZPwe1VzEL/jJu+SBc5L9FHwnuO5ilGcFgoGvRpFPQvktRziCD1eUMpQZu7fQZ+3ih6YAdg== 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=vp38kWCXPiQJ7F5QLzLhSOdD5PTF6jXoN05MnPVdOgU=; b=DN2Uk/Iu0zZALtv5kbV7nL3Mjmdtmlj1QFWzOIUp1l5lT+vooa9eIx2OVzsrST683a+X+ZgCTA+WqkhSnI0PcK0+kCYkpHKrY62BK8oNK2yklI36FLe8EMisxSRUSO3MRG8paRVc4mH8nclLR1A4ilp+eAboxo/lP3Iv7Vbfx/ONsF99FFmjheW5DrnvlBiv3iTvcoiisGM8UdxW4Hdm+7MTc13GautafWEjw9j4pDCqItnUfim+qo8rTylSGVUVH65WlydqDM4w7VJIUVJGfm5bAGn7fyplIRpQMme3fb24PalJWMrIV3TP99nOMwyU0Sj46gpbRFjQbU8drZEpvQ== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by SJ0PR12MB5421.namprd12.prod.outlook.com (2603:10b6:a03:3bb::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.18; Tue, 15 Nov 2022 08:49:25 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::7c8c:ea68:bd84:9458]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::7c8c:ea68:bd84:9458%4]) with mapi id 15.20.5813.017; Tue, 15 Nov 2022 08:49:24 +0000 From: Slava Ovsiienko To: Dariusz Sosnowski , Matan Azrad CC: "dev@dpdk.org" Subject: RE: [PATCH v3 2/3] net/mlx5: document E-Switch limitations with HWS in mlx5 PMD Thread-Topic: [PATCH v3 2/3] net/mlx5: document E-Switch limitations with HWS in mlx5 PMD Thread-Index: AQHY+FXioakRNsZfp0ey0fm6vU9Uka4/rYhA Date: Tue, 15 Nov 2022 08:49:24 +0000 Message-ID: References: <20221114181956.1052159-1-dsosnowski@nvidia.com> <20221114181956.1052159-3-dsosnowski@nvidia.com> In-Reply-To: <20221114181956.1052159-3-dsosnowski@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: DM6PR12MB3753:EE_|SJ0PR12MB5421:EE_ x-ms-office365-filtering-correlation-id: 53eb62f9-693d-4ff0-f427-08dac6e64c0e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UxJmsjND/In5EUTmVd8tIHz/TLBSgVuga/wQ5UiI0EMP8Zvf4qbtIvnBBx0P8xvKcBj/OHGclGC2TljyVbPmI5yy/8ipB5lLu0ZUFZ20sfoOZy4LdFWG/RhQoLFSjguiCzE6rXQduleRuoT7cAkkGDLvMSVdtud2JtSATn0S4wklxnEaozRzD4XSB4wudYHDSBLmfQExT9YFewmqd4x+HsSlvD2b7pXyBjjQPPv9CEvCGHRFVt+2ip8NtBMcwL3EwwjvYmFmObZE3bJr7LnfwORv/RmCFzAhws5UFV69noTupr92kW5+qSgYMQNK3Dy+641JS+BaHaYX4ywBHYei3eES6r+2Q0fZzstFoLCn4hhNiPdI28MAL0WDVM8SuGgp18Tq6Kg3DCxNy0Si0MT7UXa8kilt2pg1FeYV+YN9W7k36drUknhBxakSKOI2jsSrpVViRnkSWTT5KPy3wY039AanEDJtTOq6VoAIfiwoa3soLBKS6SEG4eYUkCtgabPoG5cTS5r6cdNTIOlhFvkxvzGvSPlFEJ2iaoz+73WJmNqg1aaIrmxcTHbMfGCn7mxLVeyzfh7vSX1I/CULFge3GD10KhXcsEtMcIe0LNzh0LdBCpbzSGtb+1YLTbM3YXDBAkJBdNI7Eew4I6vOlOOwnn9alv3LYEXeo0Ed1P2v4bIhCIKdo5T2gyAhAxxOkHZC9G4p3eFvg+nLgBPJd0tZ+wDjLRA9i4l4xMpLeUv6NNE5wgIJc/W4CPTAsfU0VWNC6ecvav4Rt7SfHHZj1Lkdww== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(376002)(346002)(39860400002)(136003)(366004)(396003)(451199015)(55016003)(86362001)(83380400001)(53546011)(26005)(6506007)(7696005)(9686003)(186003)(38100700002)(38070700005)(122000001)(4744005)(8936002)(4326008)(64756008)(66446008)(66476007)(66556008)(66946007)(8676002)(5660300002)(41300700001)(52536014)(33656002)(2906002)(76116006)(71200400001)(478600001)(316002)(6636002)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?pa744W59nkAQgDKoAu2RpEThpzI1u8UQhoF8O4LfFEdhoTMy78KfsRr0eY+D?= =?us-ascii?Q?Y/IcFDvExHJ4isjyzXgnrMnQrR/phHtT58QNO4DKlV8wXxuyYKhl+xKd1k7r?= =?us-ascii?Q?wgMCd4o0slz2E5OL4U6RXiyuFRwHKe+Yd0Te69Jyx9oUyynGUsZ3NOzHUDMC?= =?us-ascii?Q?riSPHihiHzxKpV2SMU9/04+A37UbVOHMxXbGU0zpbp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HQ/3T/whL38/Qx0pgqRj/heSfVByi3Gnee3bN9u1Rfc?= =?us-ascii?Q?ZQicwlp/iqlFsT8mPi4NifgC7bCeKMQl0OKPnDAA0q+I/C8AIVGHlY9I+GQ9?= =?us-ascii?Q?h+maTAgxrI9LsUWEKiaJYKwy+qAjzQWyC01Xh609BeihBt5vHKNMhJIJ1Cnn?= =?us-ascii?Q?uR6NhJvP/XEKvS2uJRTfzhBigYqtzt8Vp8G++9jsqQF7dtt+GHw3yke5yy+X?= =?us-ascii?Q?qw+OIbwLQ4KTkykbuekk1MJiNlMJbNoEG0au8lx/RtbS4YztLoGn6SH3vV58?= =?us-ascii?Q?L8boR7ZIY9ojARkpdKbPjQwPuCZ3LBWPk0UOUsDFg1cPG+vLABcDUenkIKA6?= =?us-ascii?Q?qBE9c9byT05xFv24XERtLbC68L/S6BR6arpFSldKV6IlxiHfMPvhbHqG1CHB?= =?us-ascii?Q?HsywHKaEkwbEN9j4KIvJXYaMQI55eY/CgQQgZO6SN8FMpbgGcR2VM3qM7Oi5?= =?us-ascii?Q?cWB/uehCLk4LD2RJSUgpMeKFIShKlc7MC0S/ezVQ?= 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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53eb62f9-693d-4ff0-f427-08dac6e64c0e X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2022 08:49:24.6860 (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: tnFFxbjy6PxLHGiYRTHSJQMTXvP66h8/CQYs9VzIARh//RZ73zKKFVnUabZ2meNLmkgpiy/jPT9v64S0G8YbkQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB5421 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: Dariusz Sosnowski > Sent: Monday, November 14, 2022 20:20 > To: Matan Azrad ; Slava Ovsiienko > Cc: dev@dpdk.org > Subject: [PATCH v3 2/3] net/mlx5: document E-Switch limitations with HWS = in > mlx5 PMD >=20 > This patch adds the following limitations to the mlx5 PMD guide: >=20 > - With HW Steering and E-Switch enabled, transfer proxy port must > be started before any port representor. > - With HW Steering and E-Switch enabled, all representors > must be stopped before transfer proxy port is stopped. >=20 > Documentation of mlx5 PMD's implementations of > rte_eth_dev_start() and rte_eth_dev_stop() is updated accordingly: >=20 > - rte_eth_dev_start() returns (-EAGAIN) when transfer proxy port > cannot be started. > - rte_eth_dev_stop() returns (-EBUSY) when port representor > cannot be stopped. >=20 > Signed-off-by: Dariusz Sosnowski Acked-by: Viacheslav Ovsiienko