Re: [virtio-dev] Re: [PATCH v9] virtio-net: add Max MTU configuration field

From
Aaron Conole <>
Date
2016-09-07T14:32:31+00:00
ID
Thread
Re: [virtio-dev] Re: [PATCH v9] virtio-net: add Max MTU configuration field
"Michael S. Tsirkin" <> writes:

> On Tue, Sep 06, 2016 at 10:31:01AM -0400, Aaron Conole wrote:
>> It is helpful for a host to indicate it's MTU to be set on guest NICs
>> other than the assumed 1500 byte value.  This helps in situations where
>> the host network is using Jumbo Frames, or aiding in PMTU discovery by
>> configuring a homogenous network.  It is also helpful for sizing receive
>> buffers correctly.
>> 
>> The change adds a new field to configuration area of network
>> devices.  It will be used to pass a maximum MTU from the device to
>> the driver.  This will be used by the driver as a maximum value for
>> packet sizes during transmission, without segmentation offloading.
>> 
>> In addition, in order to support backward and forward compatibility,
>> we introduce a new feature bit called VIRTIO_NET_F_MTU.
>> 
>> VIRTIO-152
>> Signed-off-by: Aaron Conole <>
>> Cc: Victor Kaplansky <>
>> Acked-by: Michael S. Tsirkin <>
>> Acked-by: Maxime Coquelin <>
>
> One technicality - please Cc 
> on anything that affects the drivers, also since that is archived more
> widely.

Will do, thanks.