rpma_conn_cfg_set_rcq_size3
Set receive cq size for the connection
Usage
#include <librpma.h>
struct rpma_conn_cfg;
int rpma_conn_cfg_set_rcq_size(struct rpma_conn_cfg *cfg, uint32_t rcq_size);
Overview
rpma_conn_cfg_set_rcq_size() sets the receive CQ size for the connection. Please see the rpma_conn_get_rcq() for details about the receive CQ. If this function is not called, the rcq_size has the default value (0) set by rpma_conn_cfg_new(3).
Return value
The rpma_conn_cfg_set_rcq_size() function returns 0 on success or a negative error code on failure.
Errors
rpma_conn_cfg_set_rcq_size() can fail with the following error:
- •
-
RPMA_E_INVAL - cfg is NULL
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.