[SCSI] libiscsi_tcp: support padding offload
authorMike Christie <michaelc@cs.wisc.edu>
Tue, 2 Dec 2008 06:32:16 +0000 (00:32 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:23 +0000 (11:24 -0600)
commit6df19a791bdd5d820cccd8c7a12679888ae62099
tree5afebc101c362d0a41275337dced617fb06f8a89
parentae15f80172d95f978b60d40408353943d5bc099b
[SCSI] libiscsi_tcp: support padding offload

cxgb3i does not offload the processing of the header,
but it will always process the padding. This patch
adds a padding offload flag to detect when the LLD
supports this.

The patch also modifies the header processing so that
we do not try to read/bypass the header dugest in the
skb. cxgb3i will not include it with the header like
with other offload cards.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/iscsi_tcp.c
drivers/scsi/libiscsi_tcp.c
include/scsi/iscsi_if.h
include/scsi/libiscsi_tcp.h