Skip to content

add xdp ethtool stats to mvneta driver

Lorenzo Bianconi bpf netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: mvneta: move refill_err and skb_alloc_err in per-cpu statsdrivers/net/ethernet/marvell/mvneta.c+55 -140 replies
2/5net: mvneta: rely on open-coding updating stats for non-xdp and tx pathdrivers/net/ethernet/marvell/mvneta.c+24 -160 replies
3/5net: mvneta: rely on struct mvneta_stats in mvneta_update_stats routinedrivers/net/ethernet/marvell/mvneta.c+41 -320 replies
4/5net: mvneta: introduce xdp counters to ethtooldrivers/net/ethernet/marvell/mvneta.c+45 -08 replies
5/5net: mvneta: get rid of xdp_ret in mvneta_swbm_rx_framedrivers/net/ethernet/marvell/mvneta.c+13 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/5] add xdp ethtool stats to mvneta driver

Rework mvneta stats accounting in order to introduce xdp ethtool statistics in the mvneta driver.
Introduce xdp_redirect, xdp_pass, xdp_drop and xdp_tx counters to ethtool statistics.
Fix skb_alloc_error and refill_error ethtool accounting

Lorenzo Bianconi (5):
net: mvneta: move refill_err and skb_alloc_err in per-cpu stats
net: mvneta: rely on open-coding updating stats for non-xdp and tx
path
net: mvneta: rely on struct mvneta_stats in mvneta_update_stats
routine
net: mvneta: introduce xdp counters to ethtool
net: mvneta: get rid of xdp_ret in mvneta_swbm_rx_frame

 drivers/net/ethernet/marvell/mvneta.c | 227 ++++++++++++++++++--------
 1 file changed, 163 insertions(+), 64 deletions(-)
Signature · 1 line
2.24.1