IB/iser: Use proper define for the commands per LUN value advertised to SCSI ML
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 21 Feb 2013 14:50:08 +0000 (14:50 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 22 Feb 2013 08:22:29 +0000 (00:22 -0800)
ISER_DEF_CMD_PER_LUN was meant to be ISCSI_DEF_XMIT_CMDS_MAX, not plain 128

Signed-off-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iscsi_iser.h

index ef7d3be..5babdb3 100644 (file)
@@ -94,7 +94,7 @@
 
                                        /* support up to 512KB in one RDMA */
 #define ISCSI_ISER_SG_TABLESIZE         (0x80000 >> SHIFT_4K)
-#define ISER_DEF_CMD_PER_LUN           128
+#define ISER_DEF_CMD_PER_LUN           ISCSI_DEF_XMIT_CMDS_MAX
 
 /* QP settings */
 /* Maximal bounds on received asynchronous PDUs */