.\" Extracted by src2man from include/librpma.h .\" Text automatically generated by txt2man .TH rpma_srq_cfg_set_rcq_size 3 "07 April 2024" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_srq_cfg_set_rcq_size \fP- set receive CQ size of the shared RQ .SH SYNOPSIS .nf .fam C #include struct rpma_srq_cfg; int \fBrpma_srq_cfg_set_rcq_size\fP(struct rpma_srq_cfg *cfg, uint32_t rcq_size); .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_srq_cfg_set_rcq_size\fP() sets the receive CQ size of the shared RQ. If this function is not called, the rcq_size has the default value (100) set by \fBrpma_srq_cfg_new\fP(3). .PP Note that \fBrpma_srq_new\fP(3) does not create its own receive CQ if the size of the receive CQ equals 0. .SH RETURN VALUE The \fBrpma_srq_cfg_set_rcq_size\fP() function returns 0 on success or a negative error code on failure. .SH ERRORS \fBrpma_srq_cfg_set_rcq_size\fP() can fail with the following error: .IP \(bu 3 RPMA_E_INVAL - cfg is NULL .SH SEE ALSO \fBrpma_srq_cfg_get_rcq_size\fP(3), \fBrpma_srq_cfg_new\fP(3), \fBrpma_srq_new\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/