]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Add parent group support in rate group structure
authorCarolina Jubran <cjubran@nvidia.com>
Wed, 16 Oct 2024 17:36:05 +0000 (20:36 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 21 Oct 2024 11:26:16 +0000 (13:26 +0200)
commit54200dbc685c6fcfcd59b132ff5d9979563bc01d
treefc79396f39a991260bb54bb321a1eb6ef923486c
parent4235fe2cb8e98dec6f49a86c93704b6a4762c4a2
net/mlx5: Add parent group support in rate group structure

Introduce a `parent` field in the `mlx5_esw_rate_group` structure to
support hierarchical group relationships.

The `parent` can reference another group or be set to `NULL`,
indicating the group is connected to the root TSAR.

This change enables the ability to manage groups in a hierarchical
structure for future enhancements.

Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c