NAME¶
rpma_conn_cfg_get_sq_size - get SQ size for the connection
SYNOPSIS¶
#include <librpma.h>
struct rpma_conn_cfg;
int rpma_conn_cfg_get_sq_size(const struct rpma_conn_cfg *cfg,
uint32_t *sq_size);
DESCRIPTION¶
rpma_conn_cfg_get_sq_size() gets the SQ size for the connection.
RETURN VALUE¶
The rpma_conn_cfg_get_sq_size() function returns 0 on success or a
negative error code on failure. rpma_conn_cfg_get_sq_size() does not
set *sq_size value on failure.
ERRORS¶
rpma_conn_cfg_get_sq_size() can fail with the following error:
- •
- RPMA_E_INVAL - cfg or sq_size is NULL