From owner-cvs-src-old@FreeBSD.ORG Sat Feb 14 11:36:51 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43302106564A for ; Sat, 14 Feb 2009 11:36:51 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2DD4B8FC0A for ; Sat, 14 Feb 2009 11:36:51 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1EBapcX052047 for ; Sat, 14 Feb 2009 11:36:51 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1EBapxr052045 for cvs-src-old@freebsd.org; Sat, 14 Feb 2009 11:36:51 GMT (envelope-from rrs@repoman.freebsd.org) Message-Id: <200902141136.n1EBapxr052045@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rrs@repoman.freebsd.org using -f From: Randall Stewart Date: Sat, 14 Feb 2009 11:34:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 11:36:51 -0000 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