1RDMA_SET_OPTION(3) Librdmacm Programmer's Manual RDMA_SET_OPTION(3)
2
3
4
6 rdma_set_option - Set communication options for an rdma_cm_id.
7
9 #include <rdma/rdma_cma.h>
10
11 int rdma_set_option (struct rdma_cm_id *id, int level, int optname,
12 void *optval, size_t optlen);
13
15 id RDMA identifier.
16
17 level Protocol level of the option to set.
18
19 optname Name of the option, relative to the level, to set.
20
21 optval Reference to the option data. The data is dependent on the
22 level and optname.
23
24 optlen The size of the %optval buffer.
25
27 Sets communication options for an rdma_cm_id. This call is used to
28 override the default system settings.
29
31 Returns 0 on success, or -1 on error. If an error occurs, errno will
32 be set to indicate the failure reason.
33
35 Option details may be found in the relevent header files.
36
38 rdma_create_id(3)
39
40
41
42librdmacm 2007-08-06 RDMA_SET_OPTION(3)