diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2013-02-21 14:50:08 +0000 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-02-22 00:22:29 -0800 |
commit | b96e4abaaeda62b5292026a9deaacb4066431ac7 (patch) | |
tree | fa8dd95d0cb04dc63a3dbd87fd27c68f025ca6ab /drivers/infiniband/ulp | |
parent | 836dc9e3fbbab0c30aa6e664417225f5c1fb1c39 (diff) | |
download | talos-obmc-linux-b96e4abaaeda62b5292026a9deaacb4066431ac7.tar.gz talos-obmc-linux-b96e4abaaeda62b5292026a9deaacb4066431ac7.zip |
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 <roid@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h index ef7d3be46c31..5babdb35bda7 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 */ |