1
1
always send signalled when BTL_OPENIB_FAILOVER is defined

This commit was SVN r27801.
Этот коммит содержится в:
Alex Mikheev 2013-01-13 10:11:03 +00:00
родитель c7cb363da9
Коммит 344d407ed4
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1646,7 +1646,7 @@ int mca_btl_openib_sendi( struct mca_btl_base_module_t* btl,
}
#if BTL_OPENIB_FAILOVER_ENABLED
send_signaled = 0;
send_signaled = 1;
#else
send_signaled = qp_need_signal(ep, qp, payload_size + header_size, do_rdma);
#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 */
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 ||
!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;
return 1;
}