rpma_srq_cfg_new(3) | RPMA Programmer's Manual | rpma_srq_cfg_new(3) |
rpma_srq_cfg_new - create a new shared RQ configuration object
#include <librpma.h>
struct rpma_srq_cfg;
int rpma_srq_cfg_new(struct rpma_srq_cfg **cfg_ptr);
rpma_srq_cfg_new() creates a new shared RQ configuration object and fills it with the default values:
Note that rpma_srq_new(3) with the default rcq_size creates its own receive CQ.
.rcq_size = 100
.rq_size = 100
The rpma_srq_cfg_new() function returns 0 on success or a negative error code on failure. rpma_srq_cfg_new() does not set *cfg_ptr value on failure.
rpma_srq_cfg_new() can fail with the following error:
rpma_srq_cfg_delete(3), rpma_srq_cfg_get_rcq_size(3), rpma_srq_cfg_get_rq_size(3), rpma_srq_cfg_set_rcq_size(3), rpma_srq_cfg_set_rq_size(3), rpma_srq_new(3), librpma(7) and https://pmem.io/rpma/
10 January 2023 | RPMA |