Comment 3 for bug 1581132

Revision history for this message
Andy Gospodarek (gospo) wrote :

Brad, this isn't really a bug, but a feature request.

Before my patches, it was not possible to get or set link speed on a virtio_net backed device.

$ sudo ethtool enp0s8
Settings for enp0s8:
 Link detected: yes
$ sudo ethtool -s enp0s8 speed 100000 duplex full
Cannot get current device settings: Operation not supported
  not setting speed
  not setting duplex
$ ethtool -i enp0s8
driver: virtio_net
version: 1.0.0
firmware-version:
expansion-rom-version:
bus-info: 0000:00:08.0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

As demonstrated in my description this is now possible.