qemu-e2k/hw/net
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
..
can hw/net/can: interrupt cleanup 2018-02-13 11:44:13 +01:00
fsl_etsec
rocker Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
allwinner_emac.c
cadence_gem.c maint: Fix macros with broken 'do/while(0); ' usage 2018-01-16 14:54:52 +01:00
dp8393x.c
e1000_regs.h
e1000.c hw/net: Remove unnecessary header includes 2018-03-05 10:30:16 +08:00
e1000e_core.c e1000, e1000e: Move per-packet TX offload flags out of context state 2017-12-22 09:53:23 +08:00
e1000e_core.h e1000, e1000e: Move per-packet TX offload flags out of context state 2017-12-22 09:53:23 +08:00
e1000e.c pci: removed the is_express field since a uniform interface was inserted 2018-02-08 21:06:41 +02:00
e1000x_common.c
e1000x_common.h e1000, e1000e: Move per-packet TX offload flags out of context state 2017-12-22 09:53:23 +08:00
eepro100.c eepro100: use inline net_crc32() and bitshift instead of compute_mcast_idx() 2017-12-22 10:01:27 +08:00
etraxfs_eth.c
ftgmac100.c ftgmac100: use inline net_crc32() and bitshift instead of compute_mcast_idx() 2017-12-22 10:01:27 +08:00
imx_fec.c i.MX: Fix FEC/ENET receive funtions 2018-01-25 11:45:28 +00:00
lan9118.c lan9118: use inline net_crc32() and bitshift instead of compute_mcast_idx() 2017-12-22 10:01:27 +08:00
lance.c hw/net: Remove unnecessary header includes 2018-03-05 10:30:16 +08:00
Makefile.objs hw/net/can: SJA1000 chip register level emulation for QEMU 2018-02-13 11:44:13 +01:00
mcf_fec.c
milkymist-minimac2.c
mipsnet.c
ne2000-isa.c
ne2000.c hw/net: Remove unnecessary header includes 2018-03-05 10:30:16 +08:00
ne2000.h
net_rx_pkt.c
net_rx_pkt.h
net_tx_pkt.c net: fix misaligned member access 2018-03-02 18:44:00 +00:00
net_tx_pkt.h
opencores_eth.c opencores_eth: use inline net_crc32() and bitshift instead of compute_mcast_idx() 2017-12-22 10:01:27 +08:00
pcnet-pci.c hw/net: Remove unnecessary header includes 2018-03-05 10:30:16 +08:00
pcnet.c hw/net: Remove unnecessary header includes 2018-03-05 10:30:16 +08:00
pcnet.h
rtl8139.c hw/net: Remove unnecessary header includes 2018-03-05 10:30:16 +08:00
smc91c111.c
spapr_llan.c
stellaris_enet.c
sungem.c sungem: fix multicast filter CRC calculation 2017-12-22 10:00:47 +08:00
sunhme.c sunhme: switch sunhme over to use net_crc32_le() 2017-12-22 10:00:47 +08:00
trace-events
vhost_net.c
virtio-net.c virtio-net: add linkspeed and duplex settings to virtio-net 2018-03-13 23:09:49 +02:00
vmware_utils.h
vmxnet3.c qdev: use device_class_set_parent_realize/unrealize/reset() 2018-02-05 13:54:38 +01:00
vmxnet3.h
vmxnet_debug.h
xen_nic.c
xgmac.c hw/net: Remove unnecessary header includes 2018-03-05 10:30:16 +08:00
xilinx_axienet.c
xilinx_ethlite.c