|
@@ -1013,8 +1013,7 @@ static int srpt_init_ch_qp(struct srpt_rdma_ch *ch, struct ib_qp *qp)
|
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
|
|
|
|
|
|
attr->qp_state = IB_QPS_INIT;
|
|
attr->qp_state = IB_QPS_INIT;
|
|
|
- attr->qp_access_flags = IB_ACCESS_LOCAL_WRITE | IB_ACCESS_REMOTE_READ |
|
|
|
|
|
- IB_ACCESS_REMOTE_WRITE;
|
|
|
|
|
|
|
+ attr->qp_access_flags = IB_ACCESS_LOCAL_WRITE;
|
|
|
attr->port_num = ch->sport->port;
|
|
attr->port_num = ch->sport->port;
|
|
|
attr->pkey_index = 0;
|
|
attr->pkey_index = 0;
|
|
|
|
|
|