[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>
Showing
- drivers/scsi/iscsi_tcp.c 5 additions, 4 deletionsdrivers/scsi/iscsi_tcp.c
- drivers/scsi/libiscsi_tcp.c 20 additions, 17 deletionsdrivers/scsi/libiscsi_tcp.c
- include/scsi/iscsi_if.h 2 additions, 0 deletionsinclude/scsi/iscsi_if.h
- include/scsi/libiscsi_tcp.h 2 additions, 1 deletioninclude/scsi/libiscsi_tcp.h
Loading
Please register or sign in to comment