Receive queue is not used in case of SRQ QP, so don't create one.
This commit was SVN r16786.
Этот коммит содержится в:
родитель
923666b75c
Коммит
b49788c499
@ -309,7 +309,8 @@ static int qp_create_all(mca_btl_base_endpoint_t* endpoint)
|
||||
rd_num_credits;
|
||||
} else {
|
||||
srq = endpoint->endpoint_btl->qps[qp].u.srq_qp.srq;
|
||||
max_recv_wr = mca_btl_openib_component.qp_infos[qp].rd_num;
|
||||
/* no receives are posted to SRQ qp */
|
||||
max_recv_wr = 0;
|
||||
max_send_wr = mca_btl_openib_component.qp_infos[qp].u.srq_qp.sd_max
|
||||
+ rd_num_credits;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user