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 0B33F45BFF; Mon, 28 Oct 2024 18:05:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DDD4F410D0; Mon, 28 Oct 2024 18:05:46 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2052.outbound.protection.outlook.com [40.107.96.52]) by mails.dpdk.org (Postfix) with ESMTP id 1CB6A41060 for ; Mon, 28 Oct 2024 18:05:46 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=h2SsPN+YfVsruXPXICLFv5+RzNFwxKUu5rv06X0Qk80w3I0sToyDWIzQYkD716KGjwk3uCY5tZZ+BlxwNw3wiERvukIBFFLoBMijo1eoW9IkUD+vYXPxd59t9XXbF0Cn3t1eDTncvf1GUHSTUK3J/I6QWRVFZzsTDr7ShIOKkZ6AG2erpPVMraeChzfEtEY8xpyHjCIYARPu/bh1bhQf7kBHOo0kuVEiTqMAOkJtCBCwA4DNZ6lsHTtQIwrruErgrTPPTnGYx6akKAEOrQ+dus/WDBUOu8tIWFbQrkjzNE/ZpHGn2yfPteEaIGQYvy+OCFpdoBI99kXIwfhx/2avRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=PXQYbGXLgeacPYnRLLUh9R0W+V65IwVYGEJObpOOP+k=; b=uj/uCeCigiBdNLrRNfVzuzb7q20P4kVds1JPczOkqFXvg9klEKnPvzfpCtvIs5V48mF8QgQMCUfmBnhKSYt7q/TzsYvBMnp/DjGil6dWHcbwQejh7PNX3NG8VqN7mYaRfS76Jui9ZnQ701E4zwsIEm5IqX+GNJ8P2nvi6eFygJOrwaorkh0SUPJ3xOBGolDX56yWwVEp84psxWQIpM/B00ZnobuidYBFRkcwMH9EHx96mpOo+1H9WrE5ZegcfeNKztu1+oWOYcYc54AINUCKpQqAY1K7tc4wG/sP/FnT1bx8cVMk0yjWY4ZkNUp8iasyyiwChUlamjonJqRHGb89OA== 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=PXQYbGXLgeacPYnRLLUh9R0W+V65IwVYGEJObpOOP+k=; b=a4rPiF4pOIyNRvBttONB5GLMSDpxxYqvVU1F+zK1erMRuaYOOLY7uTTb37CdyHl3LJcSHLg1yH+d43mGUCH+f/x3H9K7RJyVTh4X5H8/mNupSB+gLoyMBiKWcd4IVuH4WR3DDqnbAfi+mMhCjuZkwsDsypz4tiJAHMfLEvd51upUVajw3WAp1zL0RpfxXIg2f81bUgqrkd+QFKl4G9PeVSsuvE04RqbU8y1EwuokZUJGETQ5wEE2vekuXFYL6gSyBvPWFFEZjV8wGYz7zhm1uUKeBQ1kmqSqQlTwwWEn1wEXoJ2kLS4rjSSNAybwQmYxjPK4NvlrbV5bxg+X8hLo3w== Received: from DM4PR12MB7549.namprd12.prod.outlook.com (2603:10b6:8:10f::14) by CY8PR12MB8243.namprd12.prod.outlook.com (2603:10b6:930:78::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.25; Mon, 28 Oct 2024 17:05:42 +0000 Received: from DM4PR12MB7549.namprd12.prod.outlook.com ([fe80::36a0:7d17:4418:7c62]) by DM4PR12MB7549.namprd12.prod.outlook.com ([fe80::36a0:7d17:4418:7c62%4]) with mapi id 15.20.8093.024; Mon, 28 Oct 2024 17:05:42 +0000 From: Slava Ovsiienko To: Stephen Hemminger CC: "dev@dpdk.org" , Raslan Darawsheh , Matan Azrad , Suanming Mou Subject: RE: [PATCH 1/1] doc: virtual function MTU settings has no meaning Thread-Topic: [PATCH 1/1] doc: virtual function MTU settings has no meaning Thread-Index: AQHbKUgc8iBtI6oI6kWlziBwR8mgjLKcUAuAgAASfYA= Date: Mon, 28 Oct 2024 17:05:42 +0000 Message-ID: References: <20241028144509.1612033-1-viacheslavo@nvidia.com> <20241028085151.2bc312da@hermes.local> In-Reply-To: <20241028085151.2bc312da@hermes.local> 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: DM4PR12MB7549:EE_|CY8PR12MB8243:EE_ x-ms-office365-filtering-correlation-id: 9b454ddf-be24-4d58-d046-08dcf772c14d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|366016|1800799024|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?m09K+81x8+F3UTz8JUFmDbREjCGjeus6FYlDBawzlO3aPLVD6x2unHU/oQdN?= =?us-ascii?Q?c48qe42FbuWKlzbwy8h4zoOox+OGuM5t12liq+g0I2VpDXz76QQCcLZQN79x?= =?us-ascii?Q?061eQLZ2uurRRTKnn97RhOVUnvyNib7X/t6K3tpH2lifNRBhbgfmhI7AEwPK?= =?us-ascii?Q?WaRZShdBcaN85nqBBSKJKhti9ki/8UXZt0DlhIoAUNpPMNPM51Ffj/QDyCoB?= =?us-ascii?Q?Y5DOGsEg/ErqJnbPkGyP3EEB9h5G47xgEf2Dak5UGHU+4hE4vzUyi7MN5oIR?= =?us-ascii?Q?jBENQtrNcCr+bXpwW9KEf+scOJr2xzHctQ+M878TnfeveCGLfCgKxo4hMLT3?= =?us-ascii?Q?2MmD7m4Vyc60HuoCDV2CG3OcfJ0EAgsUV2BDHIcrqFWoZTqfCyONmvT7Itl1?= =?us-ascii?Q?THv7pq2hXqc4Cs/WuO9v8oIR20nktl7euP6wKj/9NE18j4qjirGvmxXyOHlL?= =?us-ascii?Q?30gDP8QpCmGNPE03Zof4R7tAOoUPjFEta6LN0Lwm9cwrVklYTMewoUsQ9QxE?= =?us-ascii?Q?rybCCdERip+AWP8RegznoOeiR2zdEanP7S8UHmYtRQS4etu6IejE+omRz0/1?= =?us-ascii?Q?JI5whh1C+bmqvM3I/LndIM/85206dBPeBxgXvBwxG1u8e84JfvIloYuyKun2?= =?us-ascii?Q?90Z5kzn6r7eeDSBkWi0+E0LeiPe/4oV9pfl5/zIIe7P111OjgD33/Y6KUYeC?= =?us-ascii?Q?v82/nQ6OM8wpFXGrXe+B+fmLoxMBwt+Ed7Uo0K8Z0cZq77UzNJnurps2gUlC?= =?us-ascii?Q?50bEoek07lP3F92+TKtjDR23Zhzxu4H5Ekvt7nYyU74FCH07pZZ5ZUmTcXHN?= =?us-ascii?Q?8wd5UXA8u/cqu2kpKEbsVLjptTc+IhniWbtnhqWZpNQUtExqbNTtoGJJJz68?= =?us-ascii?Q?m0LpCeE3lRW5CEPbwSgiu667heEaYOPuHENXlwekfr2S+tQbjFgdtp6pFk9I?= =?us-ascii?Q?zGIybnbM3tdf/qoapPhdxlsOiWq+oUa3iJxqM9XNsZRhMejj1bHvzpfp9hTy?= =?us-ascii?Q?mx7R2w9B28QMWgd68d/hq17V7IIl7zX3z3D9wM17JbXrR5Z2zUnIajYcp+02?= =?us-ascii?Q?cXaCglGtwjuUHiNqjLsa85XrZDyoFNVOswpqswk6rme3zkgrFZYDrOigdTDO?= =?us-ascii?Q?JIGY6OSj80T5Yz6KybnmYEOJXktDdLwCbTwNVp2xIB2NygH9CPu96D5q+eSk?= =?us-ascii?Q?naj1KHVSC/4FYP5SLv5siYB/Z0ucnzpFD/xEIK2ZA7Adaj9ZTwg0AmVYb1QS?= =?us-ascii?Q?YdmPU8Pf5zHfUMZXii9FHY5RbH9lqhRZ2HyeHj7BrVYWKu1YNvZKXzK0aebu?= =?us-ascii?Q?/E+3kXCYhtEtoapwUZnw02i5Ue7N8DPAn+wtKrLqzA5MrjdoHommi/Znj/Z0?= =?us-ascii?Q?5gzXHO0=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB7549.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+Z0LnLwWMVNJA3HBMkyZXewgqSeMD0dGvuAy5oCUIiO4V77FS84o50kFZrCj?= =?us-ascii?Q?ARYBGU9oh7ED8RBIkDxxVkQqxYFzBFhWd8ccn+XZE2uzCpyWMsDY//V+f62h?= =?us-ascii?Q?DawiZEZMoTpR1v7s6yselhZZARQz227fnMwal+QVlWP4NED/YKqoP8gi5r9s?= =?us-ascii?Q?D4bwKPfuzjfRnVnwrLd72Rc82zNaazivccIMhGuYUn0f6Xt2ZAwi3hLoiObz?= =?us-ascii?Q?7dh87pDYGX07lF6G3aepV8w9k9esrvYH18UW7z6FOq73cUy5HRHtmg5HLDrf?= =?us-ascii?Q?JWpb+xlDQtDk0X+ENuRt8mBDRb1eS983JGEfibuCRZe8dZCAwUU1lyIpX/7g?= =?us-ascii?Q?cCBvzB3CQ5hdCwvyZmzEGKnZjIiUxGSme+Q10iCEHfGDVSc5L2pw/7ka8Bre?= =?us-ascii?Q?Ev7EOZukTFSaor9YRAx1Dnaw5k55XUAzSAzAu1fKbgWJWqeT0785Zrpc4sZ3?= =?us-ascii?Q?2IvGvUEbWW2KwSVX1zz1oAp1AGVSpS6cVijpzM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TZKzsaZnZFuF7hRAHjXIQxPbetC6t5RPcX66YxvY4UlTeR?= =?us-ascii?Q?sS4aDJ8e/pL3BkfP9ldUqqKTvQ6AhbtOs1HM7/3XcvQ0PqsVd8rqLxObGuAO?= =?us-ascii?Q?WnbJ1qbA8P4PlS4Zos2o7b/QUuuzMWlT4wvv8xAf9lr31vDyUol8cqpYulmh?= =?us-ascii?Q?aHhcoDxA+pKEHVvldO7Slp4L/GxoXHQlXSs7kMg4?= 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: DM4PR12MB7549.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9b454ddf-be24-4d58-d046-08dcf772c14d X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2024 17:05:42.0735 (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: iDyLUJge59h8y9OYyiMtwfdsRvrEqexjHlPm7iIUZCTNFDFuZKT1BQIp3j0lSb0/eSiXsDju38KrZHIYcl9hiw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB8243 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: Stephen Hemminger > Sent: Monday, October 28, 2024 5:52 PM > To: Slava Ovsiienko > Cc: dev@dpdk.org; Raslan Darawsheh ; Matan Azrad > ; Suanming Mou > Subject: Re: [PATCH 1/1] doc: virtual function MTU settings has no meanin= g >=20 > On Mon, 28 Oct 2024 16:45:09 +0200 > Viacheslav Ovsiienko wrote: >=20 > > There is the mlx5 NIC limitations - configuring MTU for PCI Virtual > > Function has no meaning. The actual maximal packet size in VF's > > receiving is limited by MTU configured on the related PCI Physical > > Function, the DPDK datapath running over VF should be prepared to > > handle packets of this maximal size. > > > > Signed-off-by: Viacheslav Ovsiienko > > --- > > doc/guides/nics/mlx5.rst | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index > > 8d1a1311d4..c7dcb74da7 100644 > > --- a/doc/guides/nics/mlx5.rst > > +++ b/doc/guides/nics/mlx5.rst > > @@ -191,6 +191,13 @@ Limitations > > - IPv4/TCP with CVLAN filtering > > - L4 steering rules for port RSS of UDP, TCP and IP > > > > +- PCI Virtual Function MTU: > > + > > + Configuring MTU for PCI Virtual Function has no meaning. > > + The actual maximal packet size in VF's receiving is limited by MTU > > + configured on the related PCI Physical Function, the DPDK datapath > > + running over VF should be prepared to handle packets of this maximal > size. > > + >=20 > This is true of many drivers not just MLX5. >=20 > And it is generally true that Maximum Receive Unit (MRU) can be larger th= an > Maximum Transmit Unit (MTU). >=20 > I would rather see a more precise definition of MTU in DPDK show up in > ethdev documentation than sprinkling bits in each vendor driver. There is the specifics for mlx5 - it operates in "bifurcated mode", mlx5 PMD inherits/configures the MTU system settings, not the hardware ones= directly. So, MTU naming looks like to be correct. And, from time to time, we see user risen questions about VF MTU, especially in virtualized environment. MTU is configured (either with syste= m utilities or with DPDK) and has no effect, embarrassing the users. I have no objections to update the generic rte_ethdev chapter, but it would require attention from other vendors as well. With best regards, Slava