Skip to content
Snippets Groups Projects
Commit 3cfee566 authored by Long Li's avatar Long Li Committed by Sasha Levin
Browse files

hv_netvsc: Process NETDEV_GOING_DOWN on VF hot remove


[ Upstream commit 34b06a2e ]

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: default avatarLong Li <longli@microsoft.com>
Reviewed-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: 9cae43da ("hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0db98ee0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment