summaryrefslogtreecommitdiffstats
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
authorOlaf Kirch2007-12-13 19:43:21 +0100
committerJames Bottomley2008-01-12 01:28:20 +0100
commitda32dd681f7a1a17073c42b375fc23cf73c92155 (patch)
tree5bdca9ef0806fbf09b13d2fc272cda24702f482c /include/scsi/libiscsi.h
parent[SCSI] libiscsi, iscsi_tcp: add device support (diff)
downloadkernel-qcow2-linux-da32dd681f7a1a17073c42b375fc23cf73c92155.tar.gz
kernel-qcow2-linux-da32dd681f7a1a17073c42b375fc23cf73c92155.tar.xz
kernel-qcow2-linux-da32dd681f7a1a17073c42b375fc23cf73c92155.zip
[SCSI] iscsi_tcp: rewrite recv path
Rewrite recv path. Fixes: - data digest processing and error handling. - ahs support. Some fixups by Mike Christie Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r--include/scsi/libiscsi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index 89429f433f85..e1fb3d0927b0 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -77,6 +77,10 @@ enum {
#define ISCSI_ADDRESS_BUF_LEN 64
+enum {
+ ISCSI_DIGEST_SIZE = sizeof(__u32),
+};
+
struct iscsi_mgmt_task {
/*
* Becuae LLDs allocate their hdr differently, this is a pointer to