]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: Add support for new scheduling elements
authorCarolina Jubran <cjubran@nvidia.com>
Wed, 4 Dec 2024 22:09:23 +0000 (00:09 +0200)
committerLeon Romanovsky <leon@kernel.org>
Thu, 5 Dec 2024 09:19:49 +0000 (04:19 -0500)
commit03713108e0cccf325bb71941edd9ed6122142907
tree44df7f7ee7df4fb2edd609870646949a83e6eb5b
parente799ac9dd3c485a7cda3586f2a12784b030b9df0
net/mlx5: Add support for new scheduling elements

Introduce new scheduling elements in the E-Switch QoS hierarchy to
enhance traffic management capabilities. This patch adds support for:

- Rate Limit scheduling elements: Enables bandwidth limitation across
  multiple nodes without a shared ancestor, providing a mechanism for
  more granular control of bandwidth allocation.

- Traffic Class Transmit Scheduling Arbiter (TSAR): Introduces the
  infrastructure for creating Traffic Class TSARs, allowing
  hierarchical arbitration based on traffic classes.

- Traffic Class Arbiter TSAR: Adds support for a TSAR capable of
  managing arbitration between multiple traffic classes, enabling
  improved bandwidth prioritization and traffic management.

No functional changes are introduced in this patch.

Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241204220931.254964-4-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/rl.c
include/linux/mlx5/mlx5_ifc.h