diff options
author | Nicholas Nunley <nicholas.d.nunley@intel.com> | 2021-06-04 09:48:54 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-11-15 15:40:03 -0800 |
commit | 89f22f129696ab53cfbc608e0a2184d0fea46ac1 (patch) | |
tree | fa66d4d4ca9e2b8b01727b40e6cb4fb7c14c5024 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8a4a126f4be88eb8b5f00a165ab58c35edf4ef76 (diff) |
iavf: free q_vectors before queues in iavf_disable_vf
iavf_free_queues() clears adapter->num_active_queues, which
iavf_free_q_vectors() relies on, so swap the order of these two function
calls in iavf_disable_vf(). This resolves a panic encountered when the
interface is disabled and then later brought up again after PF
communication is restored.
Fixes: 65c7006f234c ("i40evf: assign num_active_queues inside i40evf_alloc_queues")
Signed-off-by: Nicholas Nunley <nicholas.d.nunley@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions