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

2016-09-19 Thread Michael S. Tsirkin
On Mon, Sep 19, 2016 at 11:10:26AM -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

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

2016-09-19 Thread Michael S. Tsirkin
On Mon, Sep 19, 2016 at 01:02:03PM -0400, Aaron Conole wrote: > Cornelia Huck writes: > > > On Mon, 19 Sep 2016 11:10:26 -0400 > > Aaron Conole wrote: > > > >> @@ -3165,6 +3192,16 @@ If the driver does not negotiate the > >> VIRTIO_NET_F_STATUS

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

2016-09-19 Thread Aaron Conole
Cornelia Huck writes: > On Mon, 19 Sep 2016 11:10:26 -0400 > Aaron Conole wrote: > >> @@ -3165,6 +3192,16 @@ If the driver does not negotiate the >> VIRTIO_NET_F_STATUS feature, it SHOULD >> assume the link is active, otherwise it SHOULD read the

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

2016-09-19 Thread Cornelia Huck
On Mon, 19 Sep 2016 11:10:26 -0400 Aaron Conole wrote: > @@ -3165,6 +3192,16 @@ If the driver does not negotiate the > VIRTIO_NET_F_STATUS feature, it SHOULD > assume the link is active, otherwise it SHOULD read the link status from > the bottom bit of \field{status}. > >

[PATCH v11] virtio-net: add Max MTU configuration field

2016-09-19 Thread Aaron Conole
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