DOKK / manpages / debian 11 / libibverbs-dev / ibv_get_srq_num.3.en
IBV_GET_SRQ_NUM(3) Libibverbs Programmer’s Manual IBV_GET_SRQ_NUM(3)

ibv_get_srq_num - return srq number associated with the given shared receive queue (SRQ)

#include <infiniband/verbs.h>
int ibv_get_srq_num(struct ibv_srq *srq, uint32_t *srq_num);
    

ibv_get_srq_num() return srq number associated with the given XRC shared receive queue The argument srq is an ibv_srq struct, as defined in <infiniband/verbs.h>. srq_num is an output parameter that holds the returned srq number.

ibv_get_srq_num() returns 0 on success, or the value of errno on failure (which indicates the failure reason).

ibv_alloc_pd(3), ibv_create_srq_ex(3), ibv_modify_srq(3)

Yishai Hadas <yishaih@mellanox.com>

2013-06-26 libibverbs