Skip to content

RFC virtio-net: Advised MTU feature

Aaron Conole lkml netdev virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio: Start the advised MTU feature supportinclude/uapi/linux/virtio_net.h+3 -00 replies
2/2virtio_net: Read and use the advised MTUdrivers/net/virtio_net.c+14 -10 replies
2/2virtio_net: Read and use the advised MTUdrivers/net/virtio_net.c+14 -15 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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
https://lists.oasis-open.org/archives/virtio-dev/201603/msg00001.html

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(-)
Signature · 1 line
2.5.0