commit | da26658c3d7005aa67a706dceff7b2807b59e123 | [log] [tgz] |
---|---|---|
author | Dexuan Cui <decui@microsoft.com> | Tue Sep 08 21:08:19 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 10 12:55:40 2020 -0700 |
tree | 26ce0b29d4f8096c65e5034758ed2d324be2592c | |
parent | de214e52de1bba5392b5b7054924a08dbd57c2f6 [diff] |
hv_netvsc: Cache the current data path to avoid duplicate call and message 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 <decui@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>