rpma_srq_cfg_set_rcq_size(3)

rpma_srq_cfg_set_rcq_size3

Set receive cq size of the shared rq

Usage

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

Overview

rpma_srq_cfg_set_rcq_size() sets the receive CQ size of the shared RQ. If this function is not called, the rcq_size has the default value (100) set by rpma_srq_cfg_new(3).

Note that rpma_srq_new(3) does not create its own receive CQ if the size of the receive CQ equals 0.

Return value

The rpma_srq_cfg_set_rcq_size() function returns 0 on success or a negative error code on failure.

Errors

rpma_srq_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.

  1. 12
  2. 13

From librpma-dev 1.3.0-2+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.