← Back to team overview

kernel-packages team mailing list archive

[Bug 1494431] Re: [Hyper-V] netvsc support to set MTU reservation from guest

 

I've tested with this kernel version from proposed: 3.19.0.32.31 and it
works fine. I've managed to change the mtu below 1500.


** Tags removed: verification-needed-vivid
** Tags added: verification-done-vivid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-lts-utopic in Ubuntu.
https://bugs.launchpad.net/bugs/1494431

Title:
  [Hyper-V] netvsc support to set MTU reservation from guest

Status in linux package in Ubuntu:
  Fix Released
Status in linux-lts-trusty package in Ubuntu:
  Won't Fix
Status in linux-lts-utopic package in Ubuntu:
  Invalid
Status in linux source package in Precise:
  Invalid
Status in linux-lts-trusty source package in Precise:
  Won't Fix
Status in linux-lts-utopic source package in Precise:
  In Progress
Status in linux source package in Trusty:
  Won't Fix
Status in linux source package in Vivid:
  Fix Committed
Status in linux source package in Wily:
  Fix Released

Bug description:
  Please incorporate the following upstream commits (and necessary pre-
  requisites )to the 4.2 kernel into 15.10, 15.04, 14.04 (including
  HWE), and 12.04 (including HWE). Network throughput is improved with
  proper setting of MTU in virtualized environments.

  hv_netvsc: Add support to set MTU reservation from guest side
  When packet encapsulation is in use, the MTU needs to be reduced for
  headroom reservation.
  The existing code takes the updated MTU value only from the host side.
  But vSwitch extensions, such as Open vSwitch, require the flexibility
  to change the MTU to different values from within a guest during the
  lifecycle of a vNIC, when the encapsulation protocol is changed. The
  patch supports this kind of MTU changes.

  https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f9cbce34c34bcc05ea0dd78c8999bfe88b5b6b86

  hv_netvsc: Add close of RNDIS filter into change mtu call
  The current change mtu call only stops tx before removing RNDIS filter.
  In case ringbufer is not empty, the rndis_filter_device_remove() may
  hang on removing the buffers.

  This patch adds close of RNDIS filter before removing it, also a
  gradual waiting loop until the ring is empty. The change_mtu hang
  issue under heavy traffic is solved by this patch.

  https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2de8530ba0c71a2fba02590681af0f3a2a187a9b

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1494431/+subscriptions


References