Loading
net/mlx5: Explicitly set scheduling element and TSAR type
stable inclusion from stable-v6.6.52 commit f015f63cc9c477d2f2cd2102ba1f3351be1a316d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAYXOD Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f015f63cc9c477d2f2cd2102ba1f3351be1a316d -------------------------------- [ Upstream commit c88146abe4d0f8cf659b2b8883fdc33936d2e3b8 ] 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: 1ae258f8 ("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> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Wen Zhiwei <wenzhiwei@kylinos.cn>