Skip to content

virtio-net: allow linkspeed and duplex setting

Jason Baron qemu-devel virtio-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v14 patches 14 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scripts/update-linux-headers: add ethtool.h and update to 4.16.0-rc4include/standard-headers/linux/ethtool.h include/standard-headers/linux/input.h include/standard-headers/linux/kernel.h +4 more+1876 -30 replies
2/3virtio-net: use 64-bit values for feature flagshw/net/virtio-net.c include/hw/virtio/virtio-net.h+29 -280 replies
3/3virtio-net: add linkspeed and duplex settings to virtio-nethw/net/virtio-net.c include/hw/virtio/virtio-net.h+29 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/3] virtio-net: allow linkspeed and duplex setting

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.

Also, this patchset depends on this header sync:

https://lists.gnu.org/archive/html/qemu-devel/2018-02/msg07072.html

Thanks,

-Jason

v2
-pull in include/linux/ethtool.h (Michael Tsirkin)

Jason Baron (3):
scripts/update-linux-headers: add ethtool.h and update to 4.16.0-rc4
virtio-net: use 64-bit values for feature flags
virtio-net: add linkspeed and duplex settings to virtio-net

 hw/net/virtio-net.c                      |   81 +-
 include/hw/virtio/virtio-net.h           |    5 +-
 include/standard-headers/linux/ethtool.h | 1821 ++++++++++++++++++++++++++++++
 include/standard-headers/linux/input.h   |    4 +-
 include/standard-headers/linux/kernel.h  |   15 +
 include/standard-headers/linux/sysinfo.h |   25 +
 linux-headers/asm-x86/kvm_para.h         |    1 +
 linux-headers/linux/kvm.h                |    2 +
 scripts/update-linux-headers.sh          |   11 +-
 9 files changed, 1934 insertions(+), 31 deletions(-)
 create mode 100644 include/standard-headers/linux/ethtool.h
 create mode 100644 include/standard-headers/linux/kernel.h
 create mode 100644 include/standard-headers/linux/sysinfo.h
Signature · 1 line
2.7.4