rpma_conn_cfg_get_cq_size - get CQ size for the connection
Contents
Description
rpma_conn_cfg_get_cq_size() gets the CQ size for the connection.
Errors
rpma_conn_cfg_get_cq_size() can fail with the following error:
• RPMA_E_INVAL - cfg or cq_size is NULL
Name
rpma_conn_cfg_get_cq_size - get CQ size for the connection
Return Value
The rpma_conn_cfg_get_cq_size() function returns 0 on success or a negative error code on failure.
rpma_conn_cfg_get_cq_size() does not set *cq_size value on failure.
See Also
rpma_conn_cfg_new(3), rpma_conn_cfg_set_cq_size(3), librpma(7) and https://pmem.io/rpma/ RPMA 01 April 2024 rpma_conn_cfg_get_cq_size(3)
Synopsis
#include <librpma.h>
struct rpma_conn_cfg;
int rpma_conn_cfg_get_cq_size(const struct rpma_conn_cfg *cfg, uint32_t *cq_size);
