diff options
author | Jedrzej Jagielski <jedrzej.jagielski@intel.com> | 2022-01-14 16:19:31 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-02-04 00:16:20 +0300 |
commit | 53a9e346e159f80313ff0b0c45b91cc3552cc690 (patch) | |
tree | 0fcc3c05e9131fe2a35a55ccd0dedf2362ff36dc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b3237df9e7c8a94ca266c533dd98c4c145e9b787 (diff) | |
download | linux-53a9e346e159f80313ff0b0c45b91cc3552cc690.tar.xz |
i40e: Fix race condition while adding/deleting MAC/VLAN filters
There was a race condition in access to hw->aq.asq_last_status
while adding and deleting MAC/VLAN filters causing
incorrect error status to be printed as ERROR OK instead of
the correct error.
Change calls to i40e_aq_add_macvlan in i40e_aqc_add_filters
and i40e_aq_remove_macvlan in i40e_aqc_del_filters
to _v2 versions that return Admin Queue status on the stack
to avoid race conditions in access to hw->aq.asq_last_status.
Signed-off-by: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions