1
1

If eager_rdma_local in not initialized credits and rd_win are zero and the

comparison is always true.

This commit was SVN r15629.
Этот коммит содержится в:
Gleb Natapov 2007-07-26 07:53:35 +00:00
родитель e36038bb17
Коммит 1f18b060ce

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

@ -284,7 +284,7 @@ static inline int btl_openib_check_send_credits(
mca_btl_openib_endpoint_t *endpoint, const int qp)
{
if(BTL_OPENIB_EAGER_RDMA_QP(qp)) {
if(endpoint->eager_rdma_local.credits >= endpoint->eager_rdma_local.rd_win) {
if(endpoint->eager_rdma_local.credits > endpoint->eager_rdma_local.rd_win) {
return OPAL_THREAD_ADD32(&endpoint->qps[qp].rd_pending_credit_chks, 1) == 1;
}
}