diff options
| author | Shravya KN <[email protected]> | 2025-07-10 21:39:36 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-11 14:28:34 +0000 |
| commit | b74c2a2e9cc471e847abd87e50a2354c07e02040 (patch) | |
| tree | 86d12b1e61c452ad428726ad6a1ee59bd351a6f3 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | net: ll_temac: Fix missing tx_pending check in ethtools_set_ringparam() (diff) | |
| download | kernel-b74c2a2e9cc471e847abd87e50a2354c07e02040.tar.gz kernel-b74c2a2e9cc471e847abd87e50a2354c07e02040.zip | |
bnxt_en: Fix DCB ETS validation
In bnxt_ets_validate(), the code incorrectly loops over all possible
traffic classes to check and add the ETS settings. Fix it to loop
over the configured traffic classes only.
The unconfigured traffic classes will default to TSA_ETS with 0
bandwidth. Looping over these unconfigured traffic classes may
cause the validation to fail and trigger this error message:
"rejecting ETS config starving a TC\n"
The .ieee_setets() will then fail.
Fixes: 7df4ae9fe855 ("bnxt_en: Implement DCBNL to support host-based DCBX.")
Reviewed-by: Sreekanth Reddy <[email protected]>
Signed-off-by: Shravya KN <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
