table of contents
rpma_srq_cfg_get_rq_size(3) | RPMA Programmer's Manual | rpma_srq_cfg_get_rq_size(3) |
NAME¶
rpma_srq_cfg_get_rq_size - get RQ size of the shared RQ
SYNOPSIS¶
#include <librpma.h>
struct rpma_srq_cfg;
int rpma_srq_cfg_get_rq_size(const struct rpma_srq_cfg *cfg, uint32_t *rq_size);
DESCRIPTION¶
rpma_srq_cfg_get_rq_size() gets the RQ size of the shared RQ.
RETURN VALUE¶
The rpma_srq_cfg_get_rq_size() function returns 0 on success or a negative error code on failure. rpma_srq_cfg_get_rq_size() does not set *rq_size value on failure.
ERRORS¶
rpma_srq_cfg_get_rq_size() can fail with the following error:
- •
- RPMA_E_INVAL - cfg or rq_size is NULL
SEE ALSO¶
rpma_srq_cfg_new(3), rpma_srq_cfg_set_rq_size(3), librpma(7) and https://pmem.io/rpma/
07 April 2024 | RPMA |