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

NAME

6       rdma_post_writev - post an RDMA write work request.
7

SYNOPSIS

9       #include <rdma/rdma_verbs.h>
10
11       int  rdma_post_writev  (struct  rdma_cm_id  *id,  void *context, struct
12       ibv_sge *sgl, int  nsge,  int  flags,  uint64_t  remote_addr,  uint32_t
13       rkey);
14

ARGUMENTS

16       id          A reference to a communication identifier where the request
17                   will be posted.
18
19       context     User-defined context associated with the request.
20
21       sgl         A scatter-gather list of the source buffers of the write.
22
23       nsge        The number of scatter-gather array entries.
24
25       flags       Optional flags used to control the write operation.
26
27       remote_addr The address of the remote registered memory to write into.
28
29       rkey        The  registered  memory  key  associated  with  the  remote
30                   address.
31

DESCRIPTION

33       Posts  a  work  request  to the send queue of the queue pair associated
34       with the rdma_cm_id.  The contents of the local data  buffers  will  be
35       written into the remote memory region.
36

RETURN VALUE

38       Returns  0  on success, or -1 on error.  If an error occurs, errno will
39       be set to indicate the failure reason.
40

NOTES

42       For a list of supported flags, see ibv_post_send.  Unless  inline  data
43       is  specified,  the local data buffers must have been registered before
44       the write is issued, and the buffers must remain registered  until  the
45       write completes.  The remote buffers must always be registered.
46
47       Write  operations may not be posted to an rdma_cm_id or the correspondā€
48       ing queue pair until it has been connected.
49
50       The user-defined context associated with  the  write  request  will  be
51       returned  to  the  user through the work completion wr_id, work request
52       identifier, field.
53

SEE ALSO

55       rdma_cm(7),    rdma_connect(3),    rdma_accept(3),    ibv_post_send(3),
56       rdma_post_write(3), rdma_reg_write(3), rdma_reg_msgs(3)
57
58
59
60librdmacm                         2010-07-19               RDMA_POST_WRITEV(3)
Impressum