rpma_conn_cfg_set_sq_size(3)
rpma_conn_cfg_set_sq_size - set SQ size for the connection
Description
rpma_conn_cfg_set_sq_size
NAME
rpma_conn_cfg_set_sq_size - set SQ size for the connection
SYNOPSIS
#include <librpma.h>
struct
rpma_conn_cfg;
int rpma_conn_cfg_set_sq_size(struct rpma_conn_cfg
*cfg, uint32_t sq_size);
DESCRIPTION
rpma_conn_cfg_set_sq_size() sets the SQ size for the connection. If this function is not called, the sq_size has the default value (10) set by rpma_conn_cfg_new(3).
RETURN VALUE
The rpma_conn_cfg_set_sq_size() function returns 0 on success or a negative error code on failure.
ERRORS
rpma_conn_cfg_set_sq_size() can fail with the following error:
|
• |
RPMA_E_INVAL - cfg is NULL |
SEE ALSO
rpma_conn_cfg_new(3), rpma_conn_cfg_get_sq_size(3), librpma(7) and https://pmem.io/rpma/