.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .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 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 . \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