DOKK / manpages / debian 12 / librpma-dev / rpma_srq_cfg_get_rcq_size.3.en
rpma_srq_cfg_get_rcq_size(3) RPMA Programmer's Manual rpma_srq_cfg_get_rcq_size(3)

rpma_srq_cfg_get_rcq_size - get receive CQ size of the shared RQ


#include <librpma.h>
struct rpma_srq_cfg;
int rpma_srq_cfg_get_rcq_size(const struct rpma_srq_cfg *cfg, uint32_t *rcq_size);

rpma_srq_cfg_get_rcq_size() gets the receive CQ size of the shared RQ.

The rpma_srq_cfg_get_rcq_size() function returns 0 on success or a negative error code on failure. rpma_srq_cfg_get_rcq_size() does not set *rcq_size value on failure.

rpma_srq_cfg_get_rcq_size() can fail with the following error:

RPMA_E_INVAL - cfg or rcq_size is NULL

rpma_srq_cfg_new(3), rpma_srq_cfg_set_rcq_size(3), librpma(7) and https://pmem.io/rpma/

10 January 2023 RPMA