diff options
author | Jisheng Zhang <[email protected]> | 2023-06-15 00:20:35 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-15 22:56:46 -0700 |
commit | 18da174d865a87d47d2f33f5b0a322efcf067728 (patch) | |
tree | 5427fa9b26c8f89e11c014afa35371019353d06d /tools/perf/scripts/python/syscall-counts.py | |
parent | 7deb0c3c24c474e0b79ea03f965b91c9cb1ba08f (diff) |
net: ethernet: litex: add support for 64 bit stats
Implement 64 bit per cpu stats to fix the overflow of netdev->stats
on 32 bit platforms. To simplify the code, we use net core
pcpu_sw_netstats infrastructure. One small drawback is some memory
overhead because litex uses just one queue, but we allocate the
counters per cpu.
Signed-off-by: Jisheng Zhang <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Gabriel Somlo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions