diff options
author | Somnath Kotur <[email protected]> | 2023-12-11 16:51:11 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-12 16:05:57 -0800 |
commit | 7fb17a0c18b68b64d0d91480b558089dec017e63 (patch) | |
tree | bc10b7a24d83b5ce44c63686542567a56ba9e009 /tools/perf/scripts/python/syscall-counts.py | |
parent | f1e50b276d37f21b10c4d122e02a81cd202cde3b (diff) |
bnxt_en: Fix AGG ring check logic in bnxt_check_rings()
_bnxt_get_max_rings() that is invoked in bnxt_check_rings() already
accounts for the AGG ring(s) and gives a max value based on that.
Increasing for AGG rings before calling _bnxt_get_max_rings() will
result in checking for twice the number of rings than required and
it can fail. Fix it by adjusting for AGG rings after calling
_bnxt_get_max_rings().
Fixes: f5b29c6afe36 ("bnxt_en: Add helper to get the number of CP rings required for TX rings")
Signed-off-by: Somnath Kotur <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions