Re: [PATCH] net: stmmac: xgmac: report L3/L4 filter match count in ethtool stats

From: Andrew Lunn

Date: Fri Jun 05 2026 - 10:07:33 EST


> To reply on Andrew question - As per what I'm seeing, the XGMAC2 RDES2
> only defines L3FM (bit 27) and L4FM (bit 28) — there is no FILT_NB_MATCH
> equivalent in the XGMAC2 descriptor layout, unlike dwmac4 which exposes
> it via RDES2 bits [27:26]. This patch covers all filter match bits
> available in XGMAC2 RDES2.

Thanks for the information.

Andrew