Skip to content
Advertisement

RDMA – how does the ibv_post_send know the CQ?

I’m trying to learn RDMA.

My question is, when doing ibv_post_send, I should get a completion event on a completion queue. But how does the ibv_post_send know to which completion queue? From what I see here, I could have created many.

Advertisement

Answer

Turns out when initiating a QP, it can be assigned to a send CQ and recv CQ in its init attributes.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement