1
1

Reset opcode field to SEND. It is checked later in pending progress function.

This commit was SVN r12531.
Этот коммит содержится в:
Gleb Natapov 2006-11-10 06:17:00 +00:00
родитель 77ef979457
Коммит 7e03b83d23

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

@ -197,11 +197,15 @@ static inline int mca_btl_openib_endpoint_post_send(mca_btl_openib_module_t* ope
OPAL_THREAD_ADD32(&endpoint->sd_tokens[prio], 1);
}
}
frag->wr_desc.sr_desc.opcode = IBV_WR_SEND;
BTL_ERROR(("error posting send request errno says %s\n",
strerror(errno)));
return OMPI_ERROR;
}
/* set opcode back to SEND. When processing pending fragments we check this
* value to decide what function to call */
frag->wr_desc.sr_desc.opcode = IBV_WR_SEND;
if(mca_btl_openib_component.use_srq) {
mca_btl_openib_post_srr(openib_btl, 1, BTL_OPENIB_HP_QP);
mca_btl_openib_post_srr(openib_btl, 1, BTL_OPENIB_LP_QP);