logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpma_conn_get_qp_num - get the connection's qp_num

Description

rpma_conn_get_qp_num() obtains the unique identifier of the connection.

Errors

rpma_conn_get_qp_num() can fail with the following error:

       •  RPMA_E_INVAL - conn or qp_num is NULL

Name

rpma_conn_get_qp_num - get the connection's qp_num

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.

See Also

rpma_conn_req_new(3),     rpma_ep_next_conn_req(3),     rpma_conn_req_connect(3),     librpma(7)      and
       https://pmem.io/rpma/

RPMA                                              01 April 2024                          rpma_conn_get_qp_num(3)

Synopsis

             #include <librpma.h>

             struct rpma_conn;
             int rpma_conn_get_qp_num(const struct rpma_conn *conn, uint32_t *qp_num);

See Also