fixed compilation warning
always send signalled when BTL_OPENIB_FAILOVER is defined This commit was SVN r27801.
Этот коммит содержится в:
родитель
c7cb363da9
Коммит
344d407ed4
@ -1646,7 +1646,7 @@ int mca_btl_openib_sendi( struct mca_btl_base_module_t* btl,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if BTL_OPENIB_FAILOVER_ENABLED
|
#if BTL_OPENIB_FAILOVER_ENABLED
|
||||||
send_signaled = 0;
|
send_signaled = 1;
|
||||||
#else
|
#else
|
||||||
send_signaled = qp_need_signal(ep, qp, payload_size + header_size, do_rdma);
|
send_signaled = qp_need_signal(ep, qp, payload_size + header_size, do_rdma);
|
||||||
#endif
|
#endif
|
||||||
|
@ -304,7 +304,7 @@ static inline int qp_need_signal(mca_btl_openib_endpoint_t *ep, const int qp, si
|
|||||||
/* note that size here is payload only */
|
/* note that size here is payload only */
|
||||||
if (ep->qps[qp].qp->sd_wqe <= 0 ||
|
if (ep->qps[qp].qp->sd_wqe <= 0 ||
|
||||||
size + sizeof(mca_btl_openib_header_t) + (rdma ? sizeof(mca_btl_openib_footer_t) : 0) > ep->qps[qp].ib_inline_max ||
|
size + sizeof(mca_btl_openib_header_t) + (rdma ? sizeof(mca_btl_openib_footer_t) : 0) > ep->qps[qp].ib_inline_max ||
|
||||||
!BTL_OPENIB_QP_TYPE_PP(qp) && ep->endpoint_btl->qps[qp].u.srq_qp.sd_credits <= 0) {
|
(!BTL_OPENIB_QP_TYPE_PP(qp) && ep->endpoint_btl->qps[qp].u.srq_qp.sd_credits <= 0)) {
|
||||||
ep->qps[qp].qp->wqe_count = QP_TX_BATCH_COUNT;
|
ep->qps[qp].qp->wqe_count = QP_TX_BATCH_COUNT;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user