linux/Documentation/networking/device_drivers/ethernet
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
..
3com Documentation: networking: correct spelling 2023-01-31 13:00:47 +01:00
altera
amazon net: ena: Add PHC documentation 2025-06-18 18:57:29 -07:00
amd vfio/pds: Add Kconfig and documentation 2023-08-16 10:54:54 -06:00
aquantia Documentation: networking: correct spelling 2023-01-31 13:00:47 +01:00
chelsio
cirrus
davicom Documentation: Update paths of Samsung S3C machine files 2020-10-31 12:44:14 +01:00
dec eth: de4x5: remove support for Generic DECchip & DIGITAL EtherWORKS PCI/EISA 2022-05-23 11:43:51 +01:00
dlink
freescale Documentation: dpaa2 ethernet switch driver: Fix spelling 2025-02-13 16:13:00 +01:00
google gve: update gve.rst 2023-08-06 08:34:37 +01:00
huawei hinic3: module initialization and tx/rx logic 2025-05-21 20:31:42 -07:00
intel ice: add ice driver PTP pin documentation 2025-06-09 09:56:18 -07:00
marvell Fix typo in marvell octeontx2 documentation 2025-06-22 18:16:08 +01:00
mellanox/mlx5 net/mlx5e: Add device PCIe congestion ethtool stats 2025-07-16 17:56:32 -07:00
meta docs: fbnic: explain the ring config 2025-07-01 12:48:28 +02:00
microsoft hv_netvsc: Add a comment clarifying batching logic 2021-03-14 14:32:37 -07:00
neterion Documentation: Drop or replace remaining mentions of IA64 2023-09-11 08:13:18 +00:00
netronome Documentation: nfp: update documentation 2022-11-15 20:31:08 -08:00
pensando ionic: update documentation for XDP support 2024-03-20 21:05:15 -07:00
smsc
stmicro
ti net: ti: icssg-prueth: Add ICSSG FW Stats 2025-04-28 17:20:53 -07:00
wangxun net: wangxun: add ngbevf build 2025-07-09 18:39:13 -07:00
index.rst net: wangxun: add ngbevf build 2025-07-09 18:39:13 -07:00