diff options
author | Jedrzej Jagielski <jedrzej.jagielski@intel.com> | 2022-01-14 16:19:30 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-02-04 00:13:51 +0300 |
commit | b3237df9e7c8a94ca266c533dd98c4c145e9b787 (patch) | |
tree | 0341813cb59c7db17856672bc5fa988ddc301951 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 74073848b0d7a6c2111b0823831aafd31b0e7759 (diff) | |
download | linux-b3237df9e7c8a94ca266c533dd98c4c145e9b787.tar.xz |
i40e: Add new version of i40e_aq_add_macvlan function
ASQ send command functions are returning only i40e status codes
yet some calling functions also need Admin Queue status
that is stored in hw->aq.asq_last_status. Since hw object
is stored on a heap it introduces a possibility for
a race condition in access to hw if calling function is not
fast enough to read hw->aq.asq_last_status before next
send ASQ command is executed.
Add new _v2 version of i40e_aq_add_macvlan that is using
new _v2 versions of ASQ send command functions and returns
the Admin Queue status on the stack.
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