]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'net-mana-refactor-gf-stats-handling-and-add-rx_missed_errors-counter'
authorJakub Kicinski <kuba@kernel.org>
Tue, 18 Nov 2025 03:52:34 +0000 (19:52 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 18 Nov 2025 03:55:37 +0000 (19:55 -0800)
Erni Sri Satya Vennela says:

====================
net: mana: Refactor GF stats handling and add rx_missed_errors counter

Restructure mana_query_gf_stats() to operate on the per-VF mana_context,
instead of per-port statistics. Introduce mana_ethtool_hc_stats to
isolate hardware counter statistics and update the
"ethtool -S <interface>" output to expose all relevant counters while
preserving backward compatibility.

Add support for the standard rx_missed_errors counter by mapping it
to the hardware's hc_rx_discards_no_wqe metric. Refresh statistics
every 2 seconds.
====================

Link: https://patch.msgid.link/1763120599-6331-1-git-send-email-ernis@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge