]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'net-enetc-change-some-statistics-to-64-bit'
authorJakub Kicinski <kuba@kernel.org>
Tue, 1 Jul 2025 01:23:57 +0000 (18:23 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Jul 2025 01:23:58 +0000 (18:23 -0700)
Wei Fang says:

====================
net: enetc: change some statistics to 64-bit

The port MAC counters of ENETC are 64-bit registers and the statistics
of ethtool are also u64 type, so add enetc_port_rd64() helper function
to read 64-bit statistics from these registers, and also change the
statistics of ring to unsigned long type to be consistent with the
statistics type in struct net_device_stats.

v1: https://lore.kernel.org/20250620102140.2020008-1-wei.fang@nxp.com
v2: https://lore.kernel.org/20250624101548.2669522-1-wei.fang@nxp.com
====================

Link: https://patch.msgid.link/20250627021108.3359642-1-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge