Skip to content

Posts Tagged ‘Reading Completions ’

What is a loopback message? A loopback message is a message that was sent in an RDMA device, in a specific port from one QP to another/same QP on that device at the same port; the destination address of the...

void ibv_ack_cq_events(struct ibv_cq *cq, unsigned int nevents);void ibv_ack_cq_events(struct ibv_cq *cq, unsigned int nevents); Description ibv_ack_cq_events() acknowledge Completion events. In order to prevent races, all of the Completion events that were read using ibv_get_cq_event() must be acknowledged using ibv_ack_cq_events(). Calling ibv_ack_cq_events()...

int ibv_get_cq_event(struct ibv_comp_channel *channel, struct ibv_cq **cq, void **cq_context);int ibv_get_cq_event(struct ibv_comp_channel *channel, struct ibv_cq **cq, void **cq_context); Description ibv_get_cq_event() waits for the next Completion event, according to the Completion event type that was requested using ibv_req_notify_cq() for a specific Completion...

int ibv_poll_cq(struct ibv_cq *cq, int num_entries, struct ibv_wc *wc);int ibv_poll_cq(struct ibv_cq *cq, int num_entries, struct ibv_wc *wc); Description ibv_poll_cq() polls Work Completions from a Completion Queue (CQ). A Work Completion indicates that a Work Request in a Work Queue, and...