]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: Process NETDEV_GOING_DOWN on VF hot remove
authorLong Li <longli@microsoft.com>
Sat, 9 Jan 2021 00:53:43 +0000 (16:53 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 03:58:36 +0000 (19:58 -0800)
commit684442aeee22f29d3d6a6367514bf129ab02f4b9
tree0fefbcb2583dded9ccb667c4b09894607aa5f103
parentc6519a8e679eef31fed0d85b0ce4c6d0359a4456
hv_netvsc: Process NETDEV_GOING_DOWN on VF hot remove

On VF hot remove, NETDEV_GOING_DOWN is sent to notify the VF is about to
go down. At this time, the VF is still sending/receiving traffic and we
request the VSP to switch datapath.

On completion, the datapath is switched to synthetic and we can proceed
with VF hot remove.

Signed-off-by: Long Li <longli@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/hyperv/netvsc_drv.c