[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>
This commit is contained in:
Olaf Kirch
2007-12-13 12:43:21 -06:00
committed by James Bottomley
parent 843c0a8a76
commit da32dd681f
3 changed files with 556 additions and 540 deletions

View File

@@ -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