diff options
-rw-r--r-- | drivers/infiniband/hw/nes/nes_cm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_cm.c b/drivers/infiniband/hw/nes/nes_cm.c index 71edfbbcce1c..5c10cbfa2668 100644 --- a/drivers/infiniband/hw/nes/nes_cm.c +++ b/drivers/infiniband/hw/nes/nes_cm.c | |||
@@ -3320,6 +3320,10 @@ int nes_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) | |||
3320 | 3320 | ||
3321 | nesqp->private_data_len = conn_param->private_data_len; | 3321 | nesqp->private_data_len = conn_param->private_data_len; |
3322 | nesqp->nesqp_context->ird_ord_sizes |= cpu_to_le32((u32)conn_param->ord); | 3322 | nesqp->nesqp_context->ird_ord_sizes |= cpu_to_le32((u32)conn_param->ord); |
3323 | /* space for rdma0 read msg */ | ||
3324 | if (conn_param->ord == 0) | ||
3325 | nesqp->nesqp_context->ird_ord_sizes |= cpu_to_le32(1); | ||
3326 | |||
3323 | nes_debug(NES_DBG_CM, "requested ord = 0x%08X.\n", (u32)conn_param->ord); | 3327 | nes_debug(NES_DBG_CM, "requested ord = 0x%08X.\n", (u32)conn_param->ord); |
3324 | nes_debug(NES_DBG_CM, "mpa private data len =%u\n", | 3328 | nes_debug(NES_DBG_CM, "mpa private data len =%u\n", |
3325 | conn_param->private_data_len); | 3329 | conn_param->private_data_len); |