linux/drivers/net/hyperv
Dexuan Cui 52acf73b6e hv_netvsc: Fix a network regression after ifdown/ifup
Recently people reported the NIC stops working after
"ifdown eth0; ifup eth0". It turns out in this case the TX queues are not
enabled, after the refactoring of the common detach logic: when the NIC
has sub-channels, usually we enable all the TX queues after all
sub-channels are set up: see rndis_set_subchannel() ->
netif_device_attach(), but in the case of "ifdown eth0; ifup eth0" where
the number of channels doesn't change, we also must make sure the TX queues
are enabled. The patch fixes the regression.

Fixes: 7b2ee50c0c ("hv_netvsc: common detach logic")
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-07 16:24:51 -04:00
..
hyperv_net.h netvsc: refactor notifier/event handling code to use the failover framework 2018-05-28 22:59:54 -04:00
Kconfig netvsc: refactor notifier/event handling code to use the failover framework 2018-05-28 22:59:54 -04:00
Makefile hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc.c hv_netvsc: simplify receive side calling arguments 2018-04-27 14:46:26 -04:00
netvsc_drv.c hv_netvsc: Fix a network regression after ifdown/ifup 2018-06-07 16:24:51 -04:00
netvsc_trace.c hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_trace.h hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
rndis_filter.c hv_netvsc: fix bogus ifalias on network device 2018-05-24 23:06:33 -04:00