linux_dsm_epyc7002/drivers/net/hyperv
Stephen Hemminger 7b2ee50c0c hv_netvsc: common detach logic
Make common function for detaching internals of device
during changes to MTU and RSS. Make sure no more packets
are transmitted and all packets have been received before
doing device teardown.

Change the wait logic to be common and use usleep_range().

Changes transmit enabling logic so that transmit queues are disabled
during the period when lower device is being changed. And enabled
only after sub channels are setup. This avoids issue where it could
be that a packet was being sent while subchannel was not initialized.

Fixes: 8195b1396e ("hv_netvsc: fix deadlock on hotplug")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-22 12:45:09 -04:00
..
hyperv_net.h hv_netvsc: common detach logic 2018-03-22 12:45:09 -04:00
Kconfig
Makefile
netvsc_drv.c hv_netvsc: common detach logic 2018-03-22 12:45:09 -04:00
netvsc.c hv_netvsc: common detach logic 2018-03-22 12:45:09 -04:00
rndis_filter.c hv_netvsc: common detach logic 2018-03-22 12:45:09 -04:00