Commit f3c9d40e authored by Simon Xiao's avatar Simon Xiao Committed by David S. Miller

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: default avatarSimon Xiao <sixiao@microsoft.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 776e726b
...@@ -861,7 +861,7 @@ static void netvsc_init_settings(struct net_device *dev) ...@@ -861,7 +861,7 @@ static void netvsc_init_settings(struct net_device *dev)
struct net_device_context *ndc = netdev_priv(dev); struct net_device_context *ndc = netdev_priv(dev);
ndc->speed = SPEED_UNKNOWN; ndc->speed = SPEED_UNKNOWN;
ndc->duplex = DUPLEX_UNKNOWN; ndc->duplex = DUPLEX_FULL;
} }
static int netvsc_get_link_ksettings(struct net_device *dev, static int netvsc_get_link_ksettings(struct net_device *dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment