aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ibm_emac/ibm_emac_debug.c
diff options
context:
space:
mode:
authorErni Sri Satya Vennela <ernis@linux.microsoft.com>2025-11-14 03:43:18 -0800
committerJakub Kicinski <kuba@kernel.org>2025-11-17 19:52:30 -0800
commite275d9091c01b3b46f3ec534ce4ac77cffc9e3ae (patch)
tree662bde79dd1c844581e4009012d8f09431844587 /drivers/net/ibm_emac/ibm_emac_debug.c
parentMerge branch 'net-stmmac-clean-up-plat_dat-allocation-initialisation' (diff)
downloadwireguard-linux-e275d9091c01b3b46f3ec534ce4ac77cffc9e3ae.tar.xz
wireguard-linux-e275d9091c01b3b46f3ec534ce4ac77cffc9e3ae.zip
net: mana: Move hardware counter stats from per-port to per-VF context
Move hardware counter (HC) statistics from mana_port_context to mana_context to enable sharing stats across multiple network ports on the same MANA VF. Previously, each network port queried hardware counters independently using MANA_QUERY_GF_STAT command (GF = Generic Function stats from GDMA hardware), resulting in redundant queries when multiple ports existed on the same device. Isolate hardware counter stats by introducing mana_ethtool_hc_stats in mana_context and update the code to ensure all stats are properly reported via ethtool -S <interface>, maintaining consistency with previous behavior. 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-2-git-send-email-ernis@linux.microsoft.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions