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 7FF5343677; Tue, 5 Dec 2023 12:50:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C43442E43; Tue, 5 Dec 2023 12:50:24 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 7703D42E2B for ; Tue, 5 Dec 2023 12:50:22 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 539D2206C2; Tue, 5 Dec 2023 12:50:22 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: VMXNET3 MTU X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 5 Dec 2023 12:50:18 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F091@smartserver.smartshare.dk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: VMXNET3 MTU Thread-Index: AdoncTg786JsgcWIQ/qg0NipxR++jg== From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Jochen Behrens" Cc: 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 Jochen, The VMXNET3 driver supports two different max MTU sizes, depending on = VMware guest version: https://elixir.bootlin.com/dpdk/latest/source/drivers/net/vmxnet3/vmxnet3= _ethdev.c#L1650 I think the reported max MTU size should reflect this too, e.g.: https://elixir.bootlin.com/dpdk/latest/source/drivers/net/vmxnet3/vmxnet3= _ethdev.c#L1564 - dev_info->max_mtu =3D VMXNET3_MAX_MTU; + dev_info->max_mtu =3D VMXNET3_VERSION_GE_6(hw) ? VMXNET3_V6_MAX_MTU : = VMXNET3_MAX_MTU; Med venlig hilsen / Kind regards, -Morten Br=F8rup