rpma_conn_req_new(3)

rpma_conn_req_new3

Create a new outgoing connection request object

Usage

      #include <librpma.h>
      struct rpma_peer;
      struct rpma_conn_cfg;
      struct rpma_conn_req;
      int rpma_conn_req_new(struct rpma_peer *peer, const char *addr, const char *port,
                      const struct rpma_conn_cfg *cfg, struct rpma_conn_req **req_ptr);

Overview

rpma_conn_req_new() creates a new outgoing connection request object using reliable, connection-oriented and message-based (RDMA_PS_TCP) QP communication.

Return value

The rpma_conn_req_new() function returns 0 on success or a negative error code on failure. rpma_conn_req_new() does not set *req_ptr value on failure. If cfg is NULL, then the default values are used

•

see rpma_conn_cfg_new(3) for more details.

Errors

rpma_conn_req_new() can fail with the following errors:

•

RPMA_E_INVAL - peer, addr, port or req_ptr is NULL

•

RPMA_E_NOMEM - out of memory

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.