From: "Morten Brørup" <mb@smartsharesystems.com>
To: "Jochen Behrens" <jbehrens@vmware.com>
Cc: <dev@dpdk.org>
Subject: VMXNET3 MTU
Date: Tue, 5 Dec 2023 12:50:18 +0100 [thread overview]
Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F091@smartserver.smartshare.dk> (raw)
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 = VMXNET3_MAX_MTU;
+ dev_info->max_mtu = VMXNET3_VERSION_GE_6(hw) ? VMXNET3_V6_MAX_MTU : VMXNET3_MAX_MTU;
Med venlig hilsen / Kind regards,
-Morten Brørup
reply other threads:[~2023-12-05 11:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=98CBD80474FA8B44BF855DF32C47DC35E9F091@smartserver.smartshare.dk \
--to=mb@smartsharesystems.com \
--cc=dev@dpdk.org \
--cc=jbehrens@vmware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).