aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2025-04-10 16:30:14 +0000
committerPaolo Abeni <[email protected]>2025-04-15 10:10:21 +0000
commit88c810f35ed543dc3ddc3e4d888d89f9e8ecd7cb (patch)
tree04e2b87840b91e3a2325710c85f66154639469be /net/tipc/node.c
parentnet: dsa: mt7530: move remaining MIB counter to define (diff)
downloadkernel-88c810f35ed543dc3ddc3e4d888d89f9e8ecd7cb.tar.gz
kernel-88c810f35ed543dc3ddc3e4d888d89f9e8ecd7cb.zip
net: dsa: mt7530: implement .get_stats64
It was reported that the internally calculated counter might differ from the real one from the Switch MIB. This can happen if the switch directly forward packets between the ports or offload small packets like ARP request. In such case, the kernel counter will desync compared to the real one transmitted and received by the Switch. To correctly provide the real info to the kernel, implement .get_stats64 that will directly read the current MIB counter from the switch register. Signed-off-by: Christian Marangi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions