RE: [PATCH 3/3] hv_netvsc: Process NETDEV_GOING_DOWN on VF hot remove
From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2021-01-06 17:38:05
Also in:
lkml, netdev
From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2021-01-06 17:38:05
Also in:
lkml, netdev
-----Original Message----- From: Long Li <redacted> Sent: Tuesday, January 5, 2021 8:16 PM To: KY Srinivasan <kys@microsoft.com>; Haiyang Zhang [off-list ref]; Stephen Hemminger [off-list ref]; Wei Liu [off-list ref]; David S. Miller [off-list ref]; Jakub Kicinski [off-list ref]; linux- hyperv@vger.kernel.org; netdev@vger.kernel.org; linux- kernel@vger.kernel.org Cc: Long Li <longli@microsoft.com> Subject: [PATCH 3/3] hv_netvsc: Process NETDEV_GOING_DOWN on VF hot remove From: Long Li <longli@microsoft.com> 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>