Date: Sat, 14 Feb 2009 11:34:57 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/iscsi/initiator isc_subr.c src/sys/libkern crc32.c src/sys/netinet sctp_crc32.c sctp_crc32.h src/sys/netinet/libalias alias_sctp.c src/sys/sys libkern.h Message-ID: <200902141136.n1EBapxr052045@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rrs 2009-02-14 11:34:57 UTC FreeBSD src repository Modified files: sys/dev/iscsi/initiator isc_subr.c sys/libkern crc32.c sys/netinet sctp_crc32.c sctp_crc32.h sys/netinet/libalias alias_sctp.c sys/sys libkern.h Log: SVN rev 188605 on 2009-02-14 11:34:57Z by rrs 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) Revision Changes Path 1.3 +1 -91 src/sys/dev/iscsi/initiator/isc_subr.c 1.6 +643 -0 src/sys/libkern/crc32.c 1.2 +39 -2 src/sys/netinet/libalias/alias_sctp.c 1.14 +18 -689 src/sys/netinet/sctp_crc32.c 1.7 +1 -2 src/sys/netinet/sctp_crc32.h 1.60 +5 -0 src/sys/sys/libkern.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902141136.n1EBapxr052045>