[PATCH] net: stmmac: xgmac: report L3/L4 filter match count in ethtool stats
Andrew Lunn
andrew at lunn.ch
Thu Jun 4 12:30:31 PDT 2026
On Thu, Jun 04, 2026 at 01:30:37AM -0700, muhammad.nazim.amirul.nazle.asmade at altera.com wrote:
> From: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade at altera.com>
>
> Read the L3FM and L4FM bits from the RX descriptor status word (RDES2)
> and increment the corresponding ethtool statistics counters. This allows
> users to observe L3/L4 filter hit rates via ethtool -S.
Are there any more bits which are missing?
dwmac4 has RDES2_L3_L4_FILT_NB_MATCH_MASK for example.
Andrew
More information about the linux-arm-kernel
mailing list