2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/Documentation/networking/device_drivers
Dragos Tatulea 8890ee6dcf net/mlx5e: Add device PCIe congestion ethtool stats
Implement the PCIe Congestion Event notifier which triggers a work item
to query the PCIe Congestion Event object. The result of the congestion
state is reflected in the new ethtool stats:

* pci_bw_inbound_high: the device has crossed the high threshold for
  inbound PCIe traffic.
* pci_bw_inbound_low: the device has crossed the low threshold for
  inbound PCIe traffic
* pci_bw_outbound_high: the device has crossed the high threshold for
  outbound PCIe traffic.
* pci_bw_outbound_low: the device has crossed the low threshold for
  outbound PCIe traffic

The high and low thresholds are currently configured at 90% and 75%.
These are hysteresis thresholds which help to check if the
PCI bus on the device side is in a congested state.

If low + 1 = high then the device is in a congested state. If low == high
then the device is not in a congested state.

The counters are also documented.

A follow-up patch will make the thresholds configurable.

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1752589821-145787-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-07-16 17:56:32 -07:00
..
atm Documentation: networking: correct spelling 2023-01-31 13:00:47 +01:00
can docs: networking: document NAPI 2023-03-23 19:47:40 -07:00
cellular docs: networking: Update codeaurora references for rmnet 2023-07-01 13:17:56 +01:00
ethernet net/mlx5e: Add device PCIe congestion ethtool stats 2025-07-16 17:56:32 -07:00
fddi FDDI: defza: Update my e-mail address 2021-03-10 12:45:16 -08:00
hamradio docs: networking: move baycom to the hw driver section 2020-06-26 16:08:44 -07:00
wifi wifi: remove orphaned ray_cs driver 2023-10-30 19:30:30 +02:00
wwan net: wwan: t7xx: Unify documentation column width 2024-11-07 13:33:45 +01:00
index.rst net: remove sb1000 cable modem driver 2025-03-21 17:11:54 +01:00