diff options
| author | Salil Mehta <[email protected]> | 2021-04-23 01:00:18 +0100 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-06-07 08:59:01 -0700 |
| commit | b38b7f2bb418510397714c7fb3bed64b6fd024e5 (patch) | |
| tree | d359eb078ef5608f6dd23709b8ea31cc96603172 /tools/perf/scripts/python/syscall-counts.py | |
| parent | fb3612840d4f587a0af9511a11d7989d1fa48206 (diff) | |
ice: Re-organizes reqstd/avail {R, T}XQ check/code for efficiency
If user has explicitly requested the number of {R,T}XQs, then it is
unnecessary to get the count of already available {R,T}XQs from the
PF avail_{r,t}xqs bitmap. This value will get overridden by user specified
value in any case.
Re-organize this code for improving the flow, readability and efficiency.
This scope of improvement was found during the review of the ICE driver
code.
Fixes: 87324e747fde ("ice: Implement ethtool ops for channels")
Cc: [email protected]
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions