aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorCarolina Jubran <cjubran@nvidia.com>2024-11-07 21:43:47 +0200
committerJakub Kicinski <kuba@kernel.org>2024-11-11 19:28:17 -0800
commit5a731857656e3988935108f48800cd764a550005 (patch)
tree8f26afb09a6c6297dc0ff1150ba4edebb6be6417 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentnet/mlx5: E-switch, refactor eswitch mode change (diff)
downloadwireguard-linux-5a731857656e3988935108f48800cd764a550005.tar.xz
wireguard-linux-5a731857656e3988935108f48800cd764a550005.zip
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 <cjubran@nvidia.com> Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20241107194357.683732-3-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions