Skip to content

Commit 361e0f6

Browse files
authored
Merge pull request #36 from GuangguanWang/erdma
fix RNR once reconnect happens
2 parents f63ca39 + 43eaa32 commit 361e0f6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/rdma_transport.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,7 @@ struct Endpoint {
208208
// It is OK for all QPs to repeate post recv the rx_ctx. The same buffers
209209
// but more rqe.
210210
for (int i = 0; i < kRxDepth; ++i) {
211-
if (inited < QP_NUM) {
212-
PostRecv(&rx_ctx[i], id);
213-
}
211+
PostRecv(&rx_ctx[i], id);
214212
}
215213
inited++;
216214
}

0 commit comments

Comments
 (0)