1RDMA_GET_SEND_COMP(3)    Librdmacm Programmer's Manual   RDMA_GET_SEND_COMP(3)
2
3
4

NAME

6       rdma_get_send_comp  -  retrieves  a  completed  send,  read,  or  write
7       request.
8

SYNOPSIS

10       #include <rdma/rdma_verbs.h>
11
12       int rdma_get_send_comp (struct rdma_cm_id *id, struct ibv_wc *wc);
13

ARGUMENTS

15       id          A reference to a communication identifier to check for com‐
16                   pletions.
17
18       wc          A reference to a work completion structure to fill in.
19

DESCRIPTION

21       Retrieves a completed work request for a send, RDMA read, or RDMA write
22       operation.  Information about the completed request is returned through
23       the  wc  parameter,  with  the wr_id set to the context of the request.
24       For details on the work completion structure, see ibv_poll_cq.
25

RETURN VALUE

27       Returns the number of returned completions (0 or 1) on success,  or  -1
28       on  error.  If an error occurs, errno will be set to indicate the fail‐
29       ure reason.
30

NOTES

32       This  calls  polls  the  send  completion  queue  associated  with   an
33       rdma_cm_id.   If  a  completion  is  not found, the call blocks until a
34       request completes.  This call should only be used on rdma_cm_id's  that
35       do not share CQs with other rdma_cm_id's, and maintain separate CQs for
36       sends and receive completions.
37

SEE ALSO

39       rdma_cm(7), ibv_poll_cq(3),  rdma_get_recv_comp(3),  rdma_post_send(3),
40       rdma_post_read(3), rdma_post_write(3)
41
42
43
44librdmacm                         2010-07-19             RDMA_GET_SEND_COMP(3)
Impressum