1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "IBV_GET_SRQ_NUM" "3" "2013-06-26" "libibverbs" "Libibverbs Programmer\[cq]s Manual"
.hy
.SH NAME
.PP
ibv_get_srq_num - return srq number associated with the given shared
receive queue (SRQ)
.SH SYNOPSIS
.IP
.nf
\f[C]
#include <infiniband/verbs.h>
int ibv_get_srq_num(struct ibv_srq *srq, uint32_t *srq_num);
\f[R]
.fi
.SH DESCRIPTION
.PP
\f[B]ibv_get_srq_num()\f[R] return srq number associated with the given
XRC shared receive queue The argument \f[I]srq\f[R] is an ibv_srq
struct, as defined in <infiniband/verbs.h>.
\f[I]srq_num\f[R] is an output parameter that holds the returned srq
number.
.SH RETURN VALUE
.PP
\f[B]ibv_get_srq_num()\f[R] returns 0 on success, or the value of errno
on failure (which indicates the failure reason).
.SH SEE ALSO
.PP
\f[B]ibv_alloc_pd\f[R](3), \f[B]ibv_create_srq_ex\f[R](3),
\f[B]ibv_modify_srq\f[R](3)
.SH AUTHOR
.PP
Yishai Hadas <yishaih@mellanox.com>
|