summaryrefslogtreecommitdiff
path: root/rust/kernel/ptr/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2026-04-12 01:02:05 +0100
committerJakub Kicinski <kuba@kernel.org>2026-04-13 16:46:43 -0700
commita21d33a5265f0b31d935a8b9b2b6faefb5185911 (patch)
tree173cbe54fab8318b33078d1b3bfcfb06d5960bef /rust/kernel/ptr/git@git.tavy.me:linux.git
parente6295d124644b14a12b55edf5d3e89cf86a4a2ce (diff)
net: dsa: mxl862xx: implement .get_stats64
Poll free-running firmware RMON counters every 2 seconds and accumulate deltas into 64-bit per-port statistics. 32-bit packet counters wrap in ~220s at 10 Gbps line rate with minimum-size frames; the 2s polling interval provides a comfortable margin. The .get_stats64 callback forces a fresh poll so that counters are always up to date when queried. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Link: https://patch.msgid.link/fa38548ba05866879e8912721edc91947ce4ff12.1775951347.git.daniel@makrotopia.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/ptr/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions