diff options
author | Stefan Assmann <[email protected]> | 2020-11-30 14:12:57 +0100 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-01-26 10:44:17 -0800 |
commit | 67a3c6b3cc40bb217c3ff947a55053151a00fea0 (patch) | |
tree | 725a1f35e0c37d819611791b958ca83d0f02a73c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f3fe97f64384fa4073d9dc0278c4b351c92e295c (diff) |
i40e: acquire VSI pointer only after VF is initialized
This change simplifies the VF initialization check and also minimizes
the delay between acquiring the VSI pointer and using it. As known by
the commit being fixed, there is a risk of the VSI pointer getting
changed. Therefore minimize the delay between getting and using the
pointer.
Fixes: 9889707b06ac ("i40e: Fix crash caused by stress setting of VF MAC addresses")
Signed-off-by: Stefan Assmann <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Tested-by: Konrad Jankowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions