[PATCH 3/3] net: xilinx: axienet: Relax partial rx checksum checks

Eric Dumazet edumazet at google.com
Wed Sep 4 09:30:52 PDT 2024


On Tue, Sep 3, 2024 at 8:43 PM Sean Anderson <sean.anderson at linux.dev> wrote:
>
> The partial rx checksum feature computes a checksum over the entire
> packet, regardless of the L3 protocol. Remove the check for IPv4.
> Additionally, packets under 64 bytes should have been dropped by the
> MAC, so we can remove the length check as well.

Some packets have a smaller len (than 64).

For instance, TCP pure ACK and no options over IPv4 would be 54 bytes long.

Presumably they are not dropped by the MAC ?



More information about the linux-arm-kernel mailing list