diff options
author | Michael Chan <[email protected]> | 2024-02-20 15:03:11 -0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-02-22 15:31:23 +0100 |
commit | 9294299867734ceff303012cd6ec98990fbd78e6 (patch) | |
tree | 89ea11e08db31959c85b1699f0af755eda66f590 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 438ba39b25fe71fc9cd862f30d25e54ed8f00603 (diff) |
bnxt_en: Check additional resources in bnxt_check_rings()
bnxt_check_rings() is called to check if we have enough resource
assets to satisfy the new number of ethtool channels. If the asset
test fails, the ethtool operation will fail gracefully. Otherwise
we will proceed and commit to use the new number of channels. If it
fails to allocate any resources, the chip will fail to come up.
For completeness, check all possible resources before committing to
the new settings. Add the missing ring group and RSS context asset
tests in bnxt_check_rings().
Reviewed-by: Pavan Chebbi <[email protected]>
Reviewed-by: Somnath Kotur <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions