OpenCloudOS-Kernel/drivers/net/hyperv
sixiao@microsoft.com 49eb93892d hv_netvsc: add ethtool support for set and get of settings
This patch allows the user to set and retrieve speed and duplex of the
hv_netvsc device via ethtool.

Example:
$ ethtool eth0
Settings for eth0:
...
    Speed: Unknown!
    Duplex: Unknown! (255)
...
$ ethtool -s eth0 speed 1000 duplex full
$ ethtool eth0
Settings for eth0:
...
    Speed: 1000Mb/s
    Duplex: Full
...

This is based on patches by Roopa Prabhu and Nikolay Aleksandrov.

Signed-off-by: Simon Xiao <sixiao@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-29 17:08:50 -05:00
..
Kconfig
Makefile
hyperv_net.h hv_netvsc: add ethtool support for set and get of settings 2016-02-29 17:08:50 -05:00
netvsc.c hv_netvsc: Fix book keeping of skb during batching process 2016-01-25 10:51:53 -08:00
netvsc_drv.c hv_netvsc: add ethtool support for set and get of settings 2016-02-29 17:08:50 -05:00
rndis_filter.c hv_netvsc: Eliminate vlan_tci from struct hv_netvsc_packet 2015-12-02 23:43:25 -05:00