[RFC -next 0/2] virtio-net: Advised MTU feature

From: Aaron Conole
Date: Thu Mar 10 2016 - 09:28:26 EST

The following series adds the ability for a hypervisor to set an MTU on the
guest during feature negotiation phase. This is useful for VM orchestration
when, for instance, tunneling is involved and the MTU of the various systems
should be homogenous.

The first patch adds the feature bit as described in the proposed VFIO spec
addition found at

The second patch adds a user of the bit, and a warning when the guest changes
the MTU from the hypervisor advised MTU. Future patches may add more thorough
error handling.

Aaron Conole (2):
virtio: Start the advised MTU feature support
virtio_net: Read and use the advised MTU

drivers/net/virtio_net.c | 15 ++++++++++++++-
include/uapi/linux/virtio_net.h | 3 +++
2 files changed, 17 insertions(+), 1 deletion(-)