rpma_conn_cfg_set_srq - set a shared RQ object for the connection
#include <librpma.h>
struct rpma_conn_cfg;
struct rpma_srq;
int rpma_conn_cfg_set_srq(struct rpma_conn_cfg *cfg, struct rpma_srq *srq);
rpma_conn_cfg_set_srq() sets a shared RQ object for the connection. If this function is not called, the srq has the default value (NULL) set by rpma_conn_cfg_new(3).
The rpma_conn_cfg_set_srq() function returns 0 on success or a negative error code on failure.
rpma_conn_cfg_set_srq() can fail with the following error:
rpma_conn_cfg_new(3), rpma_conn_cfg_get_srq(3), librpma(7) and https://pmem.io/rpma/
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.