mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
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>
This commit is contained in:
parent
776e726bfb
commit
f3c9d40ee1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user