1IBV_INC_RKEY(3) Libibverbs Programmer’s Manual IBV_INC_RKEY(3)
2
3
4
6 ibv_inc_rkey - creates a new rkey from the given one
7
9 #include <infiniband/verbs.h>
10
11 uint32_t ibv_inc_rkey(uint32_t rkey);
12
14 ibv_inc_rkey() Increases the 8 LSB of rkey and returns the new value.
15
17 ibv_inc_rkey() returns the new rkey.
18
20 The verb generates a new rkey that is different from the previous one
21 on its tag part but has the same index (bits 0xffffff00). A use case
22 for this verb can be to create a new rkey from a Memory window’s rkey
23 when binding it to a Memory region.
24
26 Majd Dibbiny <majd@mellanox.com>, Yishai Hadas <yishaih@mellanox.com>
27
28
29
30libibverbs 2015-01-29 IBV_INC_RKEY(3)