Debian Codegraph @

libibverbs/man/ibv_inc_rkey.3.md

raw symbols SCIP
1 ---
2 date: 2015-01-29
3 footer: libibverbs
4 header: "Libibverbs Programmer's Manual"
5 layout: page
6 license: 'Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md'
7 section: 3
8 title: IBV_INC_RKEY
9 ---
10
11 # NAME
12
13 ibv_inc_rkey - creates a new rkey from the given one
14
15 # SYNOPSIS
16
17 ```c
18 #include <infiniband/verbs.h>
19
20 uint32_t ibv_inc_rkey(uint32_t rkey);
21 ```
22
23 # DESCRIPTION
24
25 **ibv_inc_rkey()** Increases the 8 LSB of *rkey* and returns the new value.
26
27
28 # RETURN VALUE
29
30 **ibv_inc_rkey()** returns the new rkey.
31
32 # NOTES
33
34
35 The verb generates a new rkey that is different from the previous one on its
36 tag part but has the same index (bits 0xffffff00). A use case for this verb
37 can be to create a new rkey from a Memory window's rkey when binding it to a
38 Memory region.
39
40 # AUTHORS
41
42 Majd Dibbiny <[email protected]>,
43 Yishai Hadas <[email protected]>