]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: Explicitly set scheduling element and TSAR type
authorCarolina Jubran <cjubran@nvidia.com>
Mon, 2 Sep 2024 08:46:14 +0000 (11:46 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 9 Sep 2024 19:39:57 +0000 (12:39 -0700)
commitc88146abe4d0f8cf659b2b8883fdc33936d2e3b8
treeb8dc3432ca2f84056ad1a407b236fac85385ea37
parent80bf474242b21d64a514fd2bb65faa7a17ca8d8d
net/mlx5: Explicitly set scheduling element and TSAR type

Ensure the scheduling element type and TSAR type are explicitly
initialized in the QoS rate group creation.

This prevents potential issues due to default values.

Fixes: 1ae258f8b343 ("net/mlx5: E-switch, Introduce rate limiting groups API")
Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c