rpma_conn_get_qp_num3
Get the connection's qp_num
Usage
#include <librpma.h>
struct rpma_conn;
int rpma_conn_get_qp_num(const struct rpma_conn *conn, uint32_t *qp_num);
Overview
rpma_conn_get_qp_num() obtains the unique identifier of the connection.
Return value
The rpma_conn_get_qp_num() function returns 0 on success or a negative error code on failure. rpma_conn_get_qp_num() does not set *qp_num value on failure.
Errors
rpma_conn_get_qp_num() can fail with the following error:
- •
-
RPMA_E_INVAL - conn or qp_num is NULL
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.