Re: [PATCH 17/27] add generic lib/checksum.c

Arnd Bergmann
2009-05-01T09:14:41Z

On Friday 01 May 2009, Jan-Benedict Glaw wrote:
> I haven't looked at the code in detail, but it would be nice to see it
> show up soon. Just faced the IP checksumming code while resurrecting
> the VAX port.

I hope my other header changes are helping you as well, that
was the main point. The checksum code was one of the hardest
to consolidate because every architecture tries to optimize
this in a different way. After merging all the different
approaches and throwing away all the assembly code from
each of them, I made the code practically identical to
Michals version.

Please tell me if you need more hooks in the checksum
code for VAX optimizations. You might want to try overriding
the csum_fold function.