File: ibv_get_srq_num.3.md

package info (click to toggle)
rdma-core 33.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,844 kB
  • sloc: ansic: 145,804; python: 5,688; sh: 2,761; perl: 1,465; makefile: 73
file content (45 lines) | stat: -rw-r--r-- 948 bytes parent folder | download | duplicates (5)
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
36
37
38
39
40
41
42
43
44
45
---
date: 2013-06-26
footer: libibverbs
header: "Libibverbs Programmer's Manual"
layout: page
license: 'Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md'
section: 3
title: IBV_GET_SRQ_NUM
---

# NAME

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

# SYNOPSIS

```c
#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 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

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

# SEE ALSO

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

# AUTHOR

Yishai Hadas <yishaih@mellanox.com>