diff options
author | 2020-09-08 21:07:32 -0700 | |
---|---|---|
committer | 2020-09-10 12:55:40 -0700 | |
commit | de214e52de1bba5392b5b7054924a08dbd57c2f6 (patch) | |
tree | 09f38f5abf36ee380bf19fae313facf7037c0424 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc (diff) | |
download | wireguard-linux-de214e52de1bba5392b5b7054924a08dbd57c2f6.tar.xz wireguard-linux-de214e52de1bba5392b5b7054924a08dbd57c2f6.zip |
hv_netvsc: Switch the data path at the right time during hibernation
When netvsc_resume() is called, the mlx5 VF NIC has not been resumed yet,
so in the future the host might sliently fail the call netvsc_vf_changed()
-> netvsc_switch_datapath() there, even if the call works now.
Call netvsc_vf_changed() in the NETDEV_CHANGE event handler: at that time
the mlx5 VF NIC has been resumed.
Fixes: 19162fd4063a ("hv_netvsc: Fix hibernation for mlx5 VF driver")
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions