Speed up ptclbsum
authorAndrew Gallatin <gallatin@google.com>
Fri, 6 Jun 2014 22:44:58 +0000 (15:44 -0700)
committerAndrew Gallatin <gallatin@google.com>
Mon, 9 Jun 2014 14:37:12 +0000 (07:37 -0700)
commit24c0caaeebc4fefd26720a72435fe7bf974f795a
tree02d0ce7f311cb52f72ee1ad396403c1be2287d6e
parent0ef7ece19832a47fedc2c8cd92420c985c1ad40b
Speed up ptclbsum

Bring in the 64-bit checksum routine that originated in
NetBSD/alpha, and then came into FreeBSD/alpha and was used for
many of its 64-bit platforms including amd64.  This speeds
up non-checksum offload paths (like UDP transmit) by about 5%.
kern/src/net/ptclbsum.c