[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YowcZUX3lwAA6c5k@lunn.ch>
Date: Tue, 24 May 2022 01:44:37 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Joel Stanley <joel@....id.au>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Andrew Jeffery <andrew@...id.au>,
Networking <netdev@...r.kernel.org>,
David Wilder <wilder@...ibm.com>,
linux-aspeed <linux-aspeed@...ts.ozlabs.org>
Subject: Re: [PATCH net v3] net: ftgmac100: Disable hardware checksum on
AST2600
> > > 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
Powered by blists - more mailing lists