]> git.ipfire.org Git - thirdparty/linux.git/commit
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)
commit7878e21e40d47f3e55968eec8b8c690d6b8f7813
tree7a384c6b93f6fc18f35e7626aa6e2e58d1c598ba
parentb7ad21258f9e9a7f58b19595d5ceed2cde3bed68
parent4c7ef319848faac5ac8c4b0b3e31a82fe59502f0
Merge branch 'net-enetc-change-some-statistics-to-64-bit'

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>