ibv_get_srq_num (3) - Linux Man Pages

ibv_get_srq_num: return srq number associated with the given shared

NAME

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

SYNOPSIS

#include <infiniband/verbs.h>

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

DESCRIPTION

ibv_get_srq_num() return srq number associated with the given 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

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

AUTHOR

Yishai Hadas <yishaih [at] mellanox.com>