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

NAME

6       rdma_post_readv - post an RDMA read work request.
7

SYNOPSIS

9       #include <rdma/rdma_verbs.h>
10
11       int  rdma_post_readv  (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  destination  buffers  of  the
22                   read.
23
24       nsge        The number of scatter-gather array entries.
25
26       flags       Optional flags used to control the read operation.
27
28       remote_addr The address of the remote registered memory to read from.
29
30       rkey        The  registered  memory  key  associated  with  the  remote
31                   address.
32

DESCRIPTION

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

RETURN VALUE

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

NOTES

43       For  a list of supported flags, see ibv_post_send.  Both the remote and
44       local data buffers must have been registered before the read is issued,
45       and the buffers must remain registered until the read completes.
46
47       Read operations may not be posted to an rdma_cm_id or the corresponding
48       queue pair until it has been connected.
49
50       The user-defined context associated  with  the  read  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_read(3), rdma_reg_read(3), rdma_reg_msgs(3)
57
58
59
60librdmacm                         2010-07-19                RDMA_POST_READV(3)
Impressum