Re: [PATCH net-next v6 6/7] net: bcmgenet: add XDP statistics counters

From: Florian Fainelli

Date: Mon Apr 06 2026 - 13:20:38 EST


On 4/6/26 01:35, Nicolai Buchwitz wrote:
Expose per-action XDP counters via ethtool -S: xdp_pass, xdp_drop,
xdp_tx, xdp_tx_err, xdp_redirect, and xdp_redirect_err.

These use the existing soft MIB infrastructure and are incremented in
bcmgenet_run_xdp() alongside the existing driver statistics.

Signed-off-by: Nicolai Buchwitz <nb@xxxxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian