]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: Allow csum_add to be provided in arch
authorTom Herbert <therbert@google.com>
Fri, 2 May 2014 23:28:03 +0000 (16:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2014 19:26:29 +0000 (15:26 -0400)
commit07064c6e022ba8dc0c86ce12f7851a1de24e04fc
treef1a0af6e9e69360d987bb8a40ba802f5cd715f97
parent2ad064968762534c0f3b552d5fe88496787bade9
net: Allow csum_add to be provided in arch

csum_add is really nothing more then add-with-carry which
can be implemented efficiently in some architectures.
Allow architecture to define this protected by HAVE_ARCH_CSUM_ADD.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/checksum.h