.\" Extracted by src2man from /build/rpma-11eW7Q/rpma-1.3.0/src/include/librpma.h .\" Text automatically generated by txt2man .TH rpma_conn_cfg_set_sq_size 3 "29 May 2023" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_conn_cfg_set_sq_size \fP- set SQ size for the connection .SH SYNOPSIS .nf .fam C #include struct rpma_conn_cfg; int \fBrpma_conn_cfg_set_sq_size\fP(struct rpma_conn_cfg *cfg, uint32_t sq_size); .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_conn_cfg_set_sq_size\fP() sets the SQ size for the connection. If this function is not called, the sq_size has the default value (10) set by \fBrpma_conn_cfg_new\fP(3). .SH RETURN VALUE The \fBrpma_conn_cfg_set_sq_size\fP() function returns 0 on success or a negative error code on failure. .SH ERRORS \fBrpma_conn_cfg_set_sq_size\fP() can fail with the following error: .IP \(bu 3 RPMA_E_INVAL - cfg is NULL .SH SEE ALSO \fBrpma_conn_cfg_new\fP(3), \fBrpma_conn_cfg_get_sq_size\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/