DOKK / manpages / debian 10 / librdmacm-dev / rdma_set_option.3.en
RDMA_SET_OPTION(3) Librdmacm Programmer's Manual RDMA_SET_OPTION(3)

rdma_set_option - Set communication options for an rdma_cm_id.

#include <rdma/rdma_cma.h>

int rdma_set_option (struct rdma_cm_id *id, int level, int optname, void *optval, size_t optlen);

RDMA identifier.
Protocol level of the option to set.
Name of the option, relative to the level, to set.
Reference to the option data. The data is dependent on the level and optname.
The size of the %optval buffer.

Sets communication options for an rdma_cm_id. This call is used to override the default system settings.

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

Option details may be found in the relevant header files.

rdma_create_id(3)

2007-08-06 librdmacm