ip checksum multiarch support, cleanup 61/13061/10
authorDave Barach <dave@barachs.net>
Thu, 14 Jun 2018 22:05:30 +0000 (18:05 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 19 Jun 2018 18:47:11 +0000 (18:47 +0000)
When computing tcp/udp checksums across large amounts of data -
e.g. when NIC h/w checksum offload is not available - it's worth
providing arch-dependent code; if only to compile the code w/ -O3.

Fix calculation when data is fully unaligned / on an odd byte
boundary.

Add a buffer alignment test vector.

Change-Id: I7644e2276ac6cbc3f575bf61746a6ffedbbb6150
Signed-off-by: Dave Barach <dave@barachs.net>

No differences found