diff options
| author | Carolina Jubran <[email protected]> | 2025-07-10 13:53:42 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-11 14:26:44 +0000 |
| commit | f7b76466894083c8f518cf29fef75fcd3ec670e5 (patch) | |
| tree | 7da471d30dc5b6b6da2c5be664fcd49a700ac71c /tools/perf/scripts/python/check-perf-trace.py | |
| parent | Merge tag 'linux-can-fixes-for-6.16-20250711' of git://git.kernel.org/pub/scm... (diff) | |
| download | kernel-f7b76466894083c8f518cf29fef75fcd3ec670e5.tar.gz kernel-f7b76466894083c8f518cf29fef75fcd3ec670e5.zip | |
net/mlx5: Reset bw_share field when changing a node's parent
When changing a node's parent, its scheduling element is destroyed and
re-created with bw_share 0. However, the node's bw_share field was not
updated accordingly.
Set the node's bw_share to 0 after re-creation to keep the software
state in sync with the firmware configuration.
Fixes: 9c7bbf4c3304 ("net/mlx5: Add support for setting parent of nodes")
Signed-off-by: Carolina Jubran <[email protected]>
Reviewed-by: Cosmin Ratiu <[email protected]>
Reviewed-by: Dragos Tatulea <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Reviewed-by: Jacob Keller <[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
