diff options
author | Simon Xiao <sixiao@microsoft.com> | 2017-04-15 00:42:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-17 22:12:33 +0300 |
commit | f3c9d40ee12926f330a1dfebce0bebadd1406ba6 (patch) | |
tree | b976a32ddaf54af1c338c2001010ccc943c381d3 /drivers/net/hyperv | |
parent | 776e726bfb3493f71bb11759f7a60f1b0f6dd2d2 (diff) | |
download | linux-f3c9d40ee12926f330a1dfebce0bebadd1406ba6.tar.xz |
hv_netvsc: change netvsc device default duplex to FULL
The netvsc device supports full duplex by default.
This warnings in log from bonding device which did not like
seeing UNKNOWN duplex.
Signed-off-by: Simon Xiao <sixiao@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv')
-rw-r--r-- | drivers/net/hyperv/netvsc_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index 97d0b5875cd5..4421a6d00375 100644 --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c @@ -861,7 +861,7 @@ static void netvsc_init_settings(struct net_device *dev) struct net_device_context *ndc = netdev_priv(dev); ndc->speed = SPEED_UNKNOWN; - ndc->duplex = DUPLEX_UNKNOWN; + ndc->duplex = DUPLEX_FULL; } static int netvsc_get_link_ksettings(struct net_device *dev, |