]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[SCSI] cxgbi: enable TEXT PDU support
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 16 Feb 2011 21:04:32 +0000 (15:04 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 24 Feb 2011 17:40:36 +0000 (12:40 -0500)
cxgb3i and cxgb4i support TEXT PDU offloading, so set
the bits to enable it.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c

index e2362b97f3295643dc366884caed1cac59dc9cff..69a6769c633e0efd93184c7eb59b734869f22069 100644 (file)
@@ -105,7 +105,7 @@ static struct iscsi_transport cxgb3i_iscsi_transport = {
        /* owner and name should be set already */
        .caps           = CAP_RECOVERY_L0 | CAP_MULTI_R2T | CAP_HDRDGST
                                | CAP_DATADGST | CAP_DIGEST_OFFLOAD |
-                               CAP_PADDING_OFFLOAD,
+                               CAP_PADDING_OFFLOAD | CAP_TEXT_NEGO,
        .param_mask     = ISCSI_MAX_RECV_DLENGTH | ISCSI_MAX_XMIT_DLENGTH |
                                ISCSI_HDRDGST_EN | ISCSI_DATADGST_EN |
                                ISCSI_INITIAL_R2T_EN | ISCSI_MAX_R2T |
index 5b1f0785dafd8b6e48ad7d70a131089f59e03e31..719aa71f5b107ed9b47db097dcd9c0399eb66879 100644 (file)
@@ -106,7 +106,7 @@ static struct iscsi_transport cxgb4i_iscsi_transport = {
        .name           = DRV_MODULE_NAME,
        .caps           = CAP_RECOVERY_L0 | CAP_MULTI_R2T | CAP_HDRDGST |
                                CAP_DATADGST | CAP_DIGEST_OFFLOAD |
-                               CAP_PADDING_OFFLOAD,
+                               CAP_PADDING_OFFLOAD | CAP_TEXT_NEGO,
        .param_mask     = ISCSI_MAX_RECV_DLENGTH | ISCSI_MAX_XMIT_DLENGTH |
                                ISCSI_HDRDGST_EN | ISCSI_DATADGST_EN |
                                ISCSI_INITIAL_R2T_EN | ISCSI_MAX_R2T |