]> git.ipfire.org Git - thirdparty/linux.git/commit
net/mlx5e: Add stale counter for PCIe congestion events
authorDragos Tatulea <dtatulea@nvidia.com>
Sun, 7 Sep 2025 09:39:36 +0000 (12:39 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 10 Sep 2025 02:21:30 +0000 (19:21 -0700)
commitcdc492746e3f6d73a9e6a6a9962c9f1f7b7961b5
treed876b60619d6dd8051ebf3f2e8a544fcacaf907b
parentf4053490a6f651476124903dbe0777e3c24ac8cb
net/mlx5e: Add stale counter for PCIe congestion events

This ethtool counter is meant to help with observing how many times the
congestion event was triggered but on query there was no state change.

This would help to indicate when a work item was scheduled to run too
late and in the meantime the congestion state changed back to previous
state.

While at it, do a driveby typo fix in documentation for
pci_bw_inbound_high.

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-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/counters.rst
drivers/net/ethernet/mellanox/mlx5/core/en/pcie_cong_event.c