aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCarolina Jubran <cjubran@nvidia.com>2025-08-20 16:32:04 +0300
committerJakub Kicinski <kuba@kernel.org>2025-08-21 07:58:31 -0700
commite8f973576ca5387ffd2917b8ae661d3f9acde526 (patch)
tree4cdf49c522561e93a0e41767043936ce4e22f64f /tools/perf/scripts/python
parentnet/mlx5: Remove default QoS group and attach vports directly to root TSAR (diff)
downloadwireguard-linux-e8f973576ca5387ffd2917b8ae661d3f9acde526.tar.xz
wireguard-linux-e8f973576ca5387ffd2917b8ae661d3f9acde526.zip
net/mlx5e: Preserve tc-bw during parent changes
When changing parent of a node/leaf with tc-bw configured, the code saves and restores tc-bw values. However, it was reading the converted hardware bw_share values (where 0 becomes 1) instead of the original user values, causing incorrect tc-bw calculations after parent change. Store original tc-bw values in the node structure and use them directly for save/restore operations. Fixes: cf7e73770d1b ("net/mlx5: Manage TC arbiter nodes and implement full support for tc-bw") Signed-off-by: Carolina Jubran <cjubran@nvidia.com> Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com> Signed-off-by: Mark Bloch <mbloch@nvidia.com> Link: https://patch.msgid.link/20250820133209.389065-4-mbloch@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions