From: Or Gerlitz Date: Thu, 21 Feb 2013 14:50:08 +0000 (+0000) Subject: IB/iser: Use proper define for the commands per LUN value advertised to SCSI ML X-Git-Tag: upstream/snapshot3+hdmi~5641^2^4~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b96e4abaaeda62b5292026a9deaacb4066431ac7;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git IB/iser: Use proper define for the commands per LUN value advertised to SCSI ML ISER_DEF_CMD_PER_LUN was meant to be ISCSI_DEF_XMIT_CMDS_MAX, not plain 128 Signed-off-by: Roi Dayan Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h index ef7d3be..5babdb3 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.h +++ b/drivers/infiniband/ulp/iser/iscsi_iser.h @@ -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 */