[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/4] virtio-net: allow linkspeed and duplex setting
From: |
Jason Baron |
Subject: |
[Qemu-devel] [PATCH 0/4] virtio-net: allow linkspeed and duplex setting |
Date: |
Thu, 1 Mar 2018 22:46:32 -0500 |
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
- [Qemu-devel] [PATCH 0/4] virtio-net: allow linkspeed and duplex setting,
Jason Baron <=
[Qemu-devel] [PATCH 2/4] rocker: drop local duplex definitions, Jason Baron, 2018/03/01
[Qemu-devel] [PATCH 3/4] virtio-net: use 64-bit values for feature flags, Jason Baron, 2018/03/01
[Qemu-devel] [PATCH 4/4] virtio-net: add linkspeed and duplex settings to virtio-net, Jason Baron, 2018/03/01