carta
rpma_conn_get_cq(3)

rpma_conn_get_cq3

Get the connection's main cq

Usage

struct rpma_conn;

struct rpma_cq;

int rpma_conn_get_cq(const struct rpma_conn *conn, struct rpma_cq **cq_ptr);

Overview

rpma_conn_get_cq() gets the main CQ from the connection. When the receive CQ is not present the main CQ allows handling all completions within the connection. When the receive CQ is present the main CQ allows handling all completions except rpma_recv(3) completions within the connection. Please see rpma_conn_get_rcq(3) for details about the receive CQ.

Return value

The rpma_conn_get_cq() function returns 0 on success or a negative error code on failure. rpma_conn_get_cq() does not set *cq_ptr value on failure.

Errors

rpma_conn_get_cq() can fail with the following error:

•

RPMA_E_INVAL - conn or cq_ptr is NULL

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)

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