1IBV_GET_SRQ_NUM(3)      Libibverbs Programmer's Manual      IBV_GET_SRQ_NUM(3)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

22       ibv_get_srq_num()  returns 0 on success, or the value of errno on fail‐
23       ure (which indicates the failure reason).
24

SEE ALSO

26       ibv_alloc_pd(3), ibv_modify_srq(3), ibv_create_srq_ex(3)
27

AUTHORS

29       Yishai Hadas <yishaih@mellanox.com>
30
31
32
33libibverbs                        2013-06-26                IBV_GET_SRQ_NUM(3)
Impressum