Re: [PATCH net 2/2] hv_netvsc: Cache the current data path to avoid duplicate call and message

2020-09-10 Thread David Miller
From: Dexuan Cui Date: Tue, 8 Sep 2020 21:08:19 -0700 > The previous change "hv_netvsc: Switch the data path at the right time > during hibernation" adds the call of netvsc_vf_changed() upon > NETDEV_CHANGE, so it's necessary to avoid the duplicate call and message > when the VF is brought UP

[PATCH net 2/2] hv_netvsc: Cache the current data path to avoid duplicate call and message

2020-09-08 Thread Dexuan Cui
The previous change "hv_netvsc: Switch the data path at the right time during hibernation" adds the call of netvsc_vf_changed() upon NETDEV_CHANGE, so it's necessary to avoid the duplicate call and message when the VF is brought UP or DOWN. Signed-off-by: Dexuan Cui ---