[PATCH net v3] net: ftgmac100: Disable hardware checksum on AST2600

Andrew Lunn andrew at lunn.ch
Tue May 24 09:44:37 AEST 2022


> > > The observed results:
> > >
> > >  1500 - good
> > >  1434 - bad
> > >  1400 - good
> > >  1410 - bad
> > >  1420 - good

Looking at these numbers, all the good cases a divisible by 4. All the
bad cases are not.

Could you extend the test to automatically test 64 through 1500?  Or
manually try 1499, 1498, 1497, 1496. Maybe the workaround is if the
packet length is divisible by 4 let the hardware do the checksum,
otherwise do it in software.

      Andrew


More information about the Linux-aspeed mailing list