rpma_srq_cfg_set_rq_size(3) | RPMA Programmer's Manual | rpma_srq_cfg_set_rq_size(3) |
rpma_srq_cfg_set_rq_size - set RQ size of the shared RQ
#include <librpma.h>
struct rpma_srq_cfg;
int rpma_srq_cfg_set_rq_size(struct rpma_srq_cfg *cfg, uint32_t rq_size);
rpma_srq_cfg_set_rq_size() sets the RQ size of the shared RQ. If this function is not called, the rq_size has the default value (100) set by rpma_srq_cfg_new(3).
The rpma_srq_cfg_set_rq_size() function returns 0 on success or a negative error code on failure.
rpma_srq_cfg_set_rq_size() can fail with the following error:
rpma_srq_cfg_new(3), rpma_srq_cfg_get_rq_size(3), librpma(7) and https://pmem.io/rpma/
10 January 2023 | RPMA |