]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge branch 'net-mlx5e-add-support-for-pcie-congestion-events'
authorJakub Kicinski <kuba@kernel.org>
Thu, 17 Jul 2025 00:56:35 +0000 (17:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Jul 2025 00:56:36 +0000 (17:56 -0700)
commitcd031354087d8ae005404f0c552730f0bd33ac33
treedb35cdb2d4cf2f2f6324f722cb86ccb94288e5c1
parent727258025b933c61e103318ec42e765a53d9b18d
parent8890ee6dcf6e3d396677308553a8a57f29c7109e
Merge branch 'net-mlx5e-add-support-for-pcie-congestion-events'

Tariq Toukan says:

====================
net/mlx5e: Add support for PCIe congestion events

Dragos says:

PCIe congestion events are events generated by the firmware when the
device side has sustained PCIe inbound or outbound traffic above
certain thresholds. The high and low threshold are hysteresis thresholds
to prevent flapping: once the high threshold has been reached, a low
threshold event will be triggered only after the bandwidth usage went
below the low threshold.

This series adds support for receiving and exposing such events as
ethtool counters.

2 new pairs of counters are exposed: pci_bw_in/outbound_high/low. These
should help the user understand if the device PCI is under pressure.

Planned followup patches:
- Allow configuration of thresholds through devlink.
- Add ethtool counter for wakeups which did not result in any state
  change.
====================

Link: https://patch.msgid.link/1752589821-145787-1-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>