commit | 69de66fcc97263b134013de15df0615cc862894d | [log] [tgz] |
---|---|---|
author | Lorenzo Bianconi <lorenzo@kernel.org> | Sun Feb 16 22:07:30 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 16 20:04:41 2020 -0800 |
tree | a434674e48a4a727796408510345ec99c759e31b | |
parent | 9ac41f3c9f05df73d521c93a3f1fede7e4fbf3a6 [diff] |
net: mvneta: rely on open-coding updating stats for non-xdp and tx path In oreder to avoid unnecessary instructions rely on open-coding updating per-cpu stats in mvneta_tx/mvneta_xdp_submit_frame and mvneta_rx_hwbm routines. This patch will be used to add xdp support to ethtool for the mvneta driver Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>