[PATCH net] net: stmmac: dwmac-socfpga: disable split header on Agilex 5

James Clark jjc at jclark.com
Thu Nov 26 20:38:25 PST 2026


On Fri, 27 Nov 2026 03:16:01 +0000, netdev-bot+sashiko at kernel.org wrote:
> Is the root cause specific to Agilex 5, or does it affect all XGMAC
> users?

Probably not specific to Agilex 5. When the same failure was fixed for
Intel in 47f753c1108e, Intel reported that "according to Synopsys IP
support, they have confirmed the header-payload splitting for IPv4
fragmented packets is not supported for the Synopsys Ether IPs":

https://lore.kernel.org/all/20220428015538.GC26326@linux.intel.com/

So it looks like a limitation of the IP, not a bug in the driver's RX
path.

> If the corruption actually comes from this shared dwxgmac2 header
> length handling, would it be better to fix it in the core instead of
> adding a per-platform flag? That would also let Agilex 5 keep split
> header enabled.

If split header does not support fragments, there is nothing to fix in
the RX path, and Agilex 5 cannot keep split header on. A general fix
would mean not enabling split header by default, which would affect
every stmmac platform. Agilex 5 is the only XGMAC hardware I have, so
I have done what the other seven glue drivers do: disable it for the
platform I could test.

James



More information about the linux-arm-kernel mailing list