projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
776e726
)
hv_netvsc: change netvsc device default duplex to FULL
author
Simon Xiao
<sixiao@microsoft.com>
Fri, 14 Apr 2017 21:42:58 +0000
(14:42 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 17 Apr 2017 19:12:33 +0000
(15:12 -0400)
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>
drivers/net/hyperv/netvsc_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/hyperv/netvsc_drv.c
b/drivers/net/hyperv/netvsc_drv.c
index 97d0b5875cd5d180baf1cce616a9d6a4f20b812e..4421a6d0037579bbff80ee909d42510947f77690 100644
(file)
--- 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,