diff options
| author | Carolina Jubran <cjubran@nvidia.com> | 2025-07-10 16:53:42 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-17 18:44:00 +0200 |
| commit | 0c0d26073f5a37c81b88e2a143a6fdc75c420b36 (patch) | |
| tree | c41255b9c8687f1246179a0910288ef1a005614f /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5ec3f07d8aea41cb34c26af92889e6fb255fe938 (diff) | |
| download | kernel-0c0d26073f5a37c81b88e2a143a6fdc75c420b36.tar.gz | |
net/mlx5: Reset bw_share field when changing a node's parent
[ Upstream commit f7b76466894083c8f518cf29fef75fcd3ec670e5 ]
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 <cjubran@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/1752155624-24095-2-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
