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

NAME

6       rdma_post_ud_send - post a work request to send a datagram.
7

SYNOPSIS

9       #include <rdma/rdma_verbs.h>
10
11       int  rdma_post_ud_send  (struct  rdma_cm_id  *id,  void  *context, void
12       *addr, size_t length, struct ibv_mr *mr, int flags, struct ibv_ah  *ah,
13       uint32_t remote_qpn);
14

ARGUMENTS

16       id          A reference to a communication identifier where the message
17                   buffer will be posted.
18
19       context     User-defined context associated with the request.
20
21       addr        The address of the memory buffer to post.
22
23       length      The length of the memory buffer.
24
25       mr          Optional  registered  memory  region  associated  with  the
26                   posted buffer.
27
28       flags       Optional flags used to control the send operation.
29
30       ah          An  address  handle  describing  the  address of the remote
31                   node.
32
33       remote_qpn  The number of the destination queue pair.
34

DESCRIPTION

36       Posts a work request to the send queue of  the  queue  pair  associated
37       with the rdma_cm_id.  The contents of the posted buffer will be sent to
38       the specified destination queue pair.
39

RETURN VALUE

41       Returns 0 on success, or -1 on error.  If an error occurs,  errno  will
42       be set to indicate the failure reason.
43

NOTES

45       The  user  is  responsible for ensuring that the destination queue pair
46       has queued a receive request before issuing the send operations.  For a
47       list of supported flags, see ibv_post_send.  Unless the send request is
48       using inline data, the message buffer must have been registered  before
49       being  posted, with the mr parameter referencing the registration.  The
50       buffer must remain registered until the send completes.
51
52       The user-defined context associated  with  the  send  request  will  be
53       returned  to  the  user through the work completion wr_id, work request
54       identifier, field.
55

SEE ALSO

57       rdma_cm(7),    rdma_connect(3),    rdma_accept(3),     rdma_reg_msgs(3)
58       ibv_post_send(3), rdma_post_recv(3)
59
60
61
62librdmacm                         2010-07-19              RDMA_POST_UD_SEND(3)
Impressum