Fix postSend bug

This commit is contained in:
Binyang Li
2023-03-24 05:31:10 +00:00
parent febebde26a
commit 68a258fce5

View File

@@ -383,6 +383,10 @@ int mscclppIbQp::stageSendWithImm(struct mscclppIbMr *ibMr, const mscclppIbMrInf
int mscclppIbQp::postSend()
{
if (this->wrn == 0) {
return 0;
}
struct ibv_send_wr *bad_wr;
int ret = ibv_post_send(this->qp, this->wrs, &bad_wr);
if (ret != 0) {