]> git.ipfire.org Git - thirdparty/linux.git/commit
net/mlx5e: Make PCIe congestion event thresholds configurable
authorDragos Tatulea <dtatulea@nvidia.com>
Sun, 7 Sep 2025 09:39:35 +0000 (12:39 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 10 Sep 2025 02:21:30 +0000 (19:21 -0700)
commitf4053490a6f651476124903dbe0777e3c24ac8cb
tree9b8280998f4d03350c0d9f467a08b1dac700cfce
parent04d1ff1d75ba76d0c5df1513acebf43973788b17
net/mlx5e: Make PCIe congestion event thresholds configurable

Add devlink driverinit parameters for configuring the thresholds for
PCIe congestion events. These parameters are registered only when the
firmware supports this feature.

Update the mlx5 devlink docs as well on these new params.

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/1757237976-531416-2-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/devlink/mlx5.rst
drivers/net/ethernet/mellanox/mlx5/core/devlink.c
drivers/net/ethernet/mellanox/mlx5/core/devlink.h
drivers/net/ethernet/mellanox/mlx5/core/en/pcie_cong_event.c