[PATCH net-next 2/2] net: stmmac: dwmac-sun8i: support ethtool rx-all

Maxime Chevallier maxime.chevallier at bootlin.com
Fri Nov 20 10:30:01 PST 2026


Hi,

On 11/20/26 16:32, James Hilliard wrote:
> Packet captures on sun8i cannot currently inspect frames the driver
> discards for Ethernet errors. Add opt-in rx-all support for complete
> frames with a reported wire error and for runts the MAC can forward.
> 
> Set the runt-forwarding bit at hardware initialization and when rx-all
> changes. Serialize live updates with the DMA controls in the same
> register. Deliver these frames without claiming a verified checksum or
> including them in the good-packet and good-byte totals. Keep counting
> the wire errors even when the frames are delivered.

This deserves a series on its own. it's not only about sun8i, it add the
whole plumbing to stmmac itself. Is it something you've used and needed ?

This feels a bit strange as you answer to the series info bot that this
comes from Jakub's comment on the previous series, but I don't really
see the connection except that Jakub mentions RX_ALL.

If you want and need this feature, you can submit that separately.

Maxime




More information about the linux-arm-kernel mailing list