qemu-e2k/include/hw/virtio
Jason Baron 9473939ed7 virtio-net: add linkspeed and duplex settings to virtio-net
Although linkspeed and duplex can be set in a linux guest via 'ethtool -s',
this requires custom ethtool commands for virtio-net by default.

Introduce a new feature flag, VIRTIO_NET_F_SPEED_DUPLEX, which allows
the hypervisor to export a linkspeed and duplex setting. The user can
subsequently overwrite it later if desired via: 'ethtool -s'.

Linkspeed and duplex settings can be set as:
'-device virtio-net,speed=10000,duplex=full'

where speed is [0...INT_MAX], and duplex is ["half"|"full"].

Signed-off-by: Jason Baron <jbaron@akamai.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: virtio-dev@lists.oasis-open.org
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2018-03-13 23:09:49 +02:00
..
vhost-backend.h cryptodev-vhost-user: add crypto session handler 2018-03-01 18:26:17 +02:00
vhost-scsi-common.h
vhost-scsi.h
vhost-user-blk.h
vhost-user-scsi.h
vhost-vsock.h
vhost.h
virtio-access.h
virtio-balloon.h
virtio-blk.h
virtio-bus.h
virtio-crypto.h cryptodev: add vhost support 2018-03-01 18:26:17 +02:00
virtio-gpu.h virtio-gpu-3d: add support for second capability set (v4) 2018-02-26 13:41:34 +01:00
virtio-input.h
virtio-net.h virtio-net: add linkspeed and duplex settings to virtio-net 2018-03-13 23:09:49 +02:00
virtio-rng.h
virtio-scsi.h
virtio-serial.h
virtio.h