Thread (4 messages) flat view 4 messages, 4 authors, 2023-06-16

Re: [PATCH] net: ethernet: litex: add support for 64 bit stats

From: Gabriel L. Somlo <hidden>
Date: 2023-06-15 15:52:29
Also in: lkml

On Thu, Jun 15, 2023 at 12:20:35AM +0800, Jisheng Zhang wrote:
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 <jszhang@kernel.org>
---
Acked-by: Gabriel Somlo <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help