aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2025-04-10 18:30:14 +0200
committerPaolo Abeni <pabeni@redhat.com>2025-04-15 12:10:21 +0200
commit88c810f35ed543dc3ddc3e4d888d89f9e8ecd7cb (patch)
tree04e2b87840b91e3a2325710c85f66154639469be /tools/perf/scripts/python/exported-sql-viewer.py
parentnet: dsa: mt7530: move remaining MIB counter to define (diff)
downloadwireguard-linux-88c810f35ed543dc3ddc3e4d888d89f9e8ecd7cb.tar.xz
wireguard-linux-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 <ansuelsmth@gmail.com> Link: https://patch.msgid.link/20250410163022.3695-7-ansuelsmth@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions