Re: [PATCH net-next] net: bridge: switch to net core statistics counters handling

2020-11-21 Thread Jakub Kicinski
On Fri, 20 Nov 2020 12:22:23 +0100 Heiner Kallweit wrote: > Use netdev->tstats instead of a member of net_bridge for storing > a pointer to the per-cpu counters. This allows us to use core > functionality for statistics handling. > > Signed-off-by: Heiner Kallweit Applied, thanks!

[PATCH net-next] net: bridge: switch to net core statistics counters handling

2020-11-20 Thread Heiner Kallweit
Use netdev->tstats instead of a member of net_bridge for storing a pointer to the per-cpu counters. This allows us to use core functionality for statistics handling. Signed-off-by: Heiner Kallweit --- net/bridge/br_device.c | 31 +-- net/bridge/br_input.c | 6 +---