aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCarolina Jubran <cjubran@nvidia.com>2025-08-20 16:32:03 +0300
committerJakub Kicinski <kuba@kernel.org>2025-08-21 07:58:30 -0700
commit330f0f6713a39581936decac72331e6ab7f13529 (patch)
tree1fb85a932886bb60bb987367cb80f42dcf7ff31b /tools/perf/scripts/python
parentnet/mlx5: Base ECVF devlink port attrs from 0 (diff)
downloadwireguard-linux-330f0f6713a39581936decac72331e6ab7f13529.tar.xz
wireguard-linux-330f0f6713a39581936decac72331e6ab7f13529.zip
net/mlx5: Remove default QoS group and attach vports directly to root TSAR
Currently, the driver creates a default group (`node0`) and attaches all vports to it unless the user explicitly sets a parent group. As a result, when a user configures tx_share on a group and tx_share on a VF, the expectation is for the group and the VF to share bandwidth relatively. However, since the VF is not connected to the same parent (but to the default node), the proportional share logic is not applied correctly. To fix this, remove the default group (`node0`) and instead connect vports directly to the root TSAR when no parent is specified. This ensures that vports and groups share the same root scheduler and their tx_share values are compared directly under the same hierarchy. Fixes: 0fe132eac38c ("net/mlx5: E-switch, Allow to add vports to rate groups") 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-3-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