ibv_get_srq_num(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHOR | COLOPHON

IBV_GET_SRQ_NUM(3)    Libibverbs Programmer’s Manual   IBV_GET_SRQ_NUM(3)

NAME         top

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

SYNOPSIS         top

              #include <infiniband/verbs.h>

              int ibv_get_srq_num(struct ibv_srq *srq, uint32_t *srq_num);

DESCRIPTION         top

       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.

RETURN VALUE         top

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

SEE ALSO         top

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

AUTHOR         top

       Yishai Hadas ⟨[email protected]

COLOPHON         top

       This page is part of the rdma-core (RDMA Core Userspace Libraries
       and Daemons) project.  Information about the project can be found
       at ⟨https://github.com/linux-rdma/rdma-core⟩.  If you have a bug
       report for this manual page, send it to
       [email protected].  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2025-08-11.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2025-08-04.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there is
       a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       [email protected]

libibverbs                      2013-06-26             IBV_GET_SRQ_NUM(3)