Public bug reported: 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 ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1494431 Title: [Hyper-V] netvsc support to set MTU reservation from guest To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1494431/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs