diff options
| author | Carolina Jubran <[email protected]> | 2024-11-07 21:43:47 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-11 19:28:17 -0800 |
| commit | 5a731857656e3988935108f48800cd764a550005 (patch) | |
| tree | 8f26afb09a6c6297dc0ff1150ba4edebb6be6417 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ab85ebf437231ceaf359c2a4679bebd7e8d6bdb2 (diff) | |
net/mlx5: Simplify QoS normalization by removing error handling
This change updates esw_qos_normalize_min_rate to not return errors,
significantly simplifying the code.
Normalization failures are software bugs, and it's unnecessary to
handle them with rollback mechanisms. Instead,
`esw_qos_update_sched_node_bw_share` and `esw_qos_normalize_min_rate`
now return void, with any errors logged as warnings to indicate
potential software issues.
This approach avoids compensating for hidden bugs and removes error
handling from all places that perform normalization, streamlining
future patches.
Signed-off-by: Carolina Jubran <[email protected]>
Reviewed-by: Cosmin Ratiu <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions