commit | 320d54415f5db471229626af542d68a2366c31dc | [log] [tgz] |
---|---|---|
author | Lorenzo Bianconi <lorenzo@kernel.org> | Sun Feb 16 22:07:31 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 16 20:04:42 2020 -0800 |
tree | bc46fd2c7772384aae44e89706d42dd4419f71a1 | |
parent | 69de66fcc97263b134013de15df0615cc862894d [diff] |
net: mvneta: rely on struct mvneta_stats in mvneta_update_stats routine Introduce mvneta_stats structure in mvneta_update_stats routine signature in order to collect all the rx stats and update them at the end at the napi loop. mvneta_stats will be reused adding xdp statistics support to ethtool. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>