RE: [PATCH 3/3] hv_netvsc: Process NETDEV_GOING_DOWN on VF hot remove

From: Haiyang Zhang
Date: Wed Jan 06 2021 - 12:38:03 EST




> -----Original Message-----
> From: Long Li <longli@xxxxxxxxxxxxxxxxx>
> Sent: Tuesday, January 5, 2021 8:16 PM
> To: KY Srinivasan <kys@xxxxxxxxxxxxx>; Haiyang Zhang
> <haiyangz@xxxxxxxxxxxxx>; Stephen Hemminger
> <sthemmin@xxxxxxxxxxxxx>; Wei Liu <wei.liu@xxxxxxxxxx>; David S. Miller
> <davem@xxxxxxxxxxxxx>; Jakub Kicinski <kuba@xxxxxxxxxx>; linux-
> hyperv@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Cc: Long Li <longli@xxxxxxxxxxxxx>
> Subject: [PATCH 3/3] hv_netvsc: Process NETDEV_GOING_DOWN on VF hot
> remove
>
> From: Long Li <longli@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>