Hi, Linux can now read linkspeed and duplex settings as set by the hypervisor:
faa9b39 virtio_net: propagate linkspeed/duplex settings from the hypervisor This series thus adds qemu support. Michael Tsirkin requested that we pull in the linkspeed/duplex defines from include/linux/ethtool.h. I started to do that and it seems to require a number of addtional headers. It seemed like a lot of extra headers for only a few defines so I've added them all to include/net/eth.h. Also, this patchset depends on this header sync: https://lists.gnu.org/archive/html/qemu-devel/2018-02/msg07072.html Thanks, -Jason Jason Baron (4): eth: add speed and duplex definitions rocker: drop local duplex definitions virtio-net: use 64-bit values for feature flags virtio-net: add linkspeed and duplex settings to virtio-net hw/net/rocker/rocker_fp.c | 6 +--- hw/net/virtio-net.c | 81 ++++++++++++++++++++++++++++-------------- include/hw/virtio/virtio-net.h | 5 ++- include/net/eth.h | 7 ++++ 4 files changed, 66 insertions(+), 33 deletions(-) -- 2.7.4