diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-02-06 10:14:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-06 11:29:38 +0100 |
commit | c35947b8ff8acca33134ee39c31708233765c31a (patch) | |
tree | a1f7477284e8d74cf019bb2c5265b24ded07372b /include/linux/skbuff.h | |
parent | 45a8317ed2c6f0d33a89367ec5d36e4e3aa46576 (diff) | |
download | lwn-c35947b8ff8acca33134ee39c31708233765c31a.tar.gz lwn-c35947b8ff8acca33134ee39c31708233765c31a.zip |
net: mvneta: move rx_dropped and rx_errors in per-cpu stats
Move rx_dropped and rx_errors counters in mvneta_pcpu_stats in order to
avoid possible races updating statistics
Fixes: 562e2f467e71 ("net: mvneta: Improve the buffer allocation method for SWBM")
Fixes: dc35a10f68d3 ("net: mvneta: bm: add support for hardware buffer management")
Fixes: c5aff18204da ("net: mvneta: driver for Marvell Armada 370/XP network unit")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
0 files changed, 0 insertions, 0 deletions