]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
This commit fixes the issue with alias_sctp.c. No
authorrrs <rrs@FreeBSD.org>
Sat, 14 Feb 2009 11:34:57 +0000 (11:34 +0000)
committerrrs <rrs@FreeBSD.org>
Sat, 14 Feb 2009 11:34:57 +0000 (11:34 +0000)
commitd22f1350d2b99a2c94df984d76b37089bc7d610a
treeb713f25db67c27ccf45455a371f2dd7e0322ff44
parent5537532d1b2a9b8013d0af30efa778a7bb45f788
This commit fixes the issue with alias_sctp.c. No
longer do we require SCTP to be in the kernel for the
lib to be able to handle SCTP. We do this by moving
the CRC32c checksum into libkern/crc32.c and then adjusting
all routines to use the common methods. Note that this
will improve the performance of iSCSI since they were
using the old single 256 bit table lookup versus the
slicing 8 algorithm (which gives a 4x speed up in
CRC32c calculation :-D)

Reviewed by:rwatson, gnn, scottl, paolo
MFC after: 4 week? (assuming we MFC the alias_sctp changes)
sys/dev/iscsi/initiator/isc_subr.c
sys/libkern/crc32.c
sys/netinet/libalias/alias_sctp.c
sys/netinet/sctp_crc32.c
sys/netinet/sctp_crc32.h
sys/sys/libkern.h