On Thu, 18 Sep 2008, Atsushi Nemoto wrote: > > Hmm, what's the purpose of doing the fold in csum_partial() then? > > Well, maybe odd-byte handling requires 16-bit holded values? It should be enough to swap odd and even bytes in the word in the unaligned path. Though perhaps extra code to do masking would make it no shorter/faster than what we have now; however the aligned path would benefit. Hmm... Maciej