[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1284201076-22361-1-git-send-email-nab@linux-iscsi.org>
Date: Sat, 11 Sep 2010 03:31:16 -0700
From: "Nicholas A. Bellinger" <nab@...ux-iscsi.org>
To: linux-scsi <linux-scsi@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Cc: Christoph Hellwig <hch@....de>,
FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>,
Mike Christie <michaelc@...wisc.edu>,
Hannes Reinecke <hare@...e.de>,
James Bottomley <James.Bottomley@...e.de>,
Konrad Rzeszutek Wilk <konrad@...nok.org>,
Boaz Harrosh <bharrosh@...asas.com>,
Richard Sharpe <realrichardsharpe@...il.com>,
"H. Peter Anvin" <hpa@...or.com>,
Vasu Dev <vasu.dev@...ux.intel.com>,
Joe Eykholt <jeykholt@...co.com>,
Nicholas Bellinger <nab@...ux-iscsi.org>
Subject: [PATCH 0/2] lio-target: Add support for libcrypto crc32c and crc32-intel offload
From: Nicholas Bellinger <nab@...ux-iscsi.org>
Greetings all,
This patch series converts the LIO-Target fabric module from using a legacy
internal slicing by 1x CRC32C algorithm to the slicing by 1x CRC32C available in
crc32c.ko, as well as initial support for the Nehalem series crc32c-intel.ko
instruction offload available since v2.6.27 in late 2008.
So far this series has been lightly tested with a handful of Open-iSCSI client VMs
with the optimized crc32c-intel.ko offload case, and there appears to be some
HeaderDigest failures for one case with RHEL6 B2 x86_64, while Ubuntu i686 on
v2.6.27 and OpenSuse 11.2 x86_64 on v2.6.31 work as expected with HeaderDigest=CRC32C
and DataDigest=CRC32C using the offload on the LIO-Target side.
Currently this patch disables the new iSCSI TPG attribute crc32c_x86_offload
to force the crc32c.ko slicing by x1 CRC32C algorithm until these compatibility
issues with existing libcrc32c clients can be properly resolved with the Nehalem
CRC32C offload instructions running on the LIO-Target side.
Comments are welcome!
Signed-off-by: Nicholas A. Bellinger <nab@...ux-iscsi.org>
Nicholas Bellinger (2):
lio-target: Convert to use libcrypto crc32c
lio-target: Add support for Intel Nehalem crc32-intel libcrypto
offload
drivers/target/lio-target/Kbuild | 1 -
drivers/target/lio-target/iscsi_crc.c | 171 ------------
drivers/target/lio-target/iscsi_crc.h | 9 -
drivers/target/lio-target/iscsi_target.c | 302 ++++++++++++++++-----
drivers/target/lio-target/iscsi_target_configfs.c | 6 +
drivers/target/lio-target/iscsi_target_core.h | 7 +
drivers/target/lio-target/iscsi_target_erl1.c | 1 -
drivers/target/lio-target/iscsi_target_erl2.c | 1 -
drivers/target/lio-target/iscsi_target_login.c | 76 +++++-
drivers/target/lio-target/iscsi_target_login.h | 1 +
drivers/target/lio-target/iscsi_target_nego.c | 18 +-
drivers/target/lio-target/iscsi_target_tmr.c | 1 -
drivers/target/lio-target/iscsi_target_tpg.c | 19 ++
drivers/target/lio-target/iscsi_target_tpg.h | 1 +
14 files changed, 356 insertions(+), 258 deletions(-)
delete mode 100644 drivers/target/lio-target/iscsi_crc.c
delete mode 100644 drivers/target/lio-target/iscsi_crc.h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists