diff options
| author | 2025-11-14 03:43:19 -0800 | |
|---|---|---|
| committer | 2025-11-17 19:52:30 -0800 | |
| commit | be4f1d67ec56f23f37714ac73c01094e63c7ff28 (patch) | |
| tree | 09cb5279acdbd40378d0cc6b24181be65caae7cb /scripts/lib/kdoc/kdoc_files.py | |
| parent | net: mana: Move hardware counter stats from per-port to per-VF context (diff) | |
| download | wireguard-linux-be4f1d67ec56f23f37714ac73c01094e63c7ff28.tar.xz wireguard-linux-be4f1d67ec56f23f37714ac73c01094e63c7ff28.zip | |
net: mana: Add standard counter rx_missed_errors
Report standard counter stats->rx_missed_errors
using hc_rx_discards_no_wqe from the hardware.
Add a global workqueue to periodically run
mana_query_gf_stats every 2 seconds to get the latest
info in eth_stats and define a driver capability flag
to notify hardware of the periodic queries.
To avoid repeated failures and log flooding, the workqueue
is not rescheduled if mana_query_gf_stats fails on HWC timeout
error and the stats are reset to 0. Other errors are transient
which will not need a VF reset for recovery.
Signed-off-by: Erni Sri Satya Vennela <ernis@linux.microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Link: https://patch.msgid.link/1763120599-6331-3-git-send-email-ernis@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
