kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #178164
[Bug 1581132] [NEW] [XENAIL] net: updates to ethtool and virtio_net for speed/duplex support
Public bug reported:
Post 4.4, several changes landed upsteam to allow users to set interface
speed for virtio_net backed devices. This feature is extremely useful
for those doing large-scale networking simulations where Ubuntu-based
VMs are used to simulate hosts. Not only does it allow hosts to report
the same speed in simulations for monitoring tools, but it is required
to simulate 802.3ad bonding where link-speed is reported to the peer
device. Without proper speed setting there are cases where establishing
LACP adjacency is not possible.
After this patch setting the link speed and duplex now works just as one would
expect. I'm running the kernel that contains this patch for these commands:
$ sudo ethtool -s enp0s8 speed 100000 duplex full
$ sudo ethtool enp0s8
Settings for enp0s8:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 100000Mb/s
Duplex: Full
Port: Other
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Link detected: yes
I've already submitted patches to the kernel-team mailing list. Those
patches can be found in this thread: https://lists.ubuntu.com/archives
/kernel-team/2016-May/077286.html
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: xenial
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1581132
Title:
[XENAIL] net: updates to ethtool and virtio_net for speed/duplex
support
Status in linux package in Ubuntu:
New
Bug description:
Post 4.4, several changes landed upsteam to allow users to set interface
speed for virtio_net backed devices. This feature is extremely useful
for those doing large-scale networking simulations where Ubuntu-based
VMs are used to simulate hosts. Not only does it allow hosts to report
the same speed in simulations for monitoring tools, but it is required
to simulate 802.3ad bonding where link-speed is reported to the peer
device. Without proper speed setting there are cases where establishing
LACP adjacency is not possible.
After this patch setting the link speed and duplex now works just as one would
expect. I'm running the kernel that contains this patch for these commands:
$ sudo ethtool -s enp0s8 speed 100000 duplex full
$ sudo ethtool enp0s8
Settings for enp0s8:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 100000Mb/s
Duplex: Full
Port: Other
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Link detected: yes
I've already submitted patches to the kernel-team mailing list. Those
patches can be found in this thread: https://lists.ubuntu.com/archives
/kernel-team/2016-May/077286.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1581132/+subscriptions
Follow ups
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Launchpad Bug Tracker, 2016-06-27
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Iain Lane, 2016-06-24
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Andy Gospodarek, 2016-06-21
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Kamal Mostafa, 2016-06-21
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Andy Gospodarek, 2016-06-15
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Andy Gospodarek, 2016-06-15
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Iain Lane, 2016-06-15
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Iain Lane, 2016-06-15
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Launchpad Bug Tracker, 2016-06-15
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Andy Gospodarek, 2016-06-14
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Kamal Mostafa, 2016-06-14
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Kamal Mostafa, 2016-05-19
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Andy Gospodarek, 2016-05-16
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Tim Gardner, 2016-05-16
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Joseph Salisbury, 2016-05-13
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Andy Gospodarek, 2016-05-13
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Joseph Salisbury, 2016-05-12
-
[Bug 1581132] Re: [Xenial] net: updates to ethtool and virtio_net for speed/duplex support
From: Andy Gospodarek, 2016-05-12
-
[Bug 1581132] Missing required logs.
From: Brad Figg, 2016-05-12
-
[Bug 1581132] Re: [XENAIL] net: updates to ethtool and virtio_net for speed/duplex support
From: Kamal Mostafa, 2016-05-12
-
[Bug 1581132] Missing required logs.
From: Brad Figg, 2016-05-12