diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-11-10 04:50:32 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-10 04:50:33 +0300 |
commit | 52643b7832d8dca9df647a6ce181e3faf86dc99f (patch) | |
tree | 70f8aa44af3ebdc99d57ac2d046c0d5e9f4cdc22 /security/security.c | |
parent | ca4d632aef031c7946c42a6eb873d24ab6474f17 (diff) | |
parent | 682036b2b9fbcf98e333bad717968ad6650a0d94 (diff) | |
download | linux-52643b7832d8dca9df647a6ce181e3faf86dc99f.tar.xz |
Merge branch 'net-add-and-use-dev_get_tstats64'
Heiner Kallweit says:
====================
net: add and use dev_get_tstats64
It's a frequent pattern to use netdev->stats for the less frequently
accessed counters and per-cpu counters for the frequently accessed
counters (rx/tx bytes/packets). Add a default ndo_get_stats64()
implementation for this use case. Subsequently switch more drivers
to use this pattern.
v2:
- add patches for replacing ip_tunnel_get_stats64
Requested additional migrations will come in a separate series.
v3:
- add atomic_long_t member rx_frame_errors in patch 3 for making
counter updates atomic
====================
Link: https://lore.kernel.org/r/99273e2f-c218-cd19-916e-9161d8ad8c56@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions