.\" Automatically generated by Pandoc 3.1.11.1
.\"
.TH "IBV_INC_RKEY" "3" "2015\-01\-29" "libibverbs" "Libibverbs Programmer\[cq]s Manual"
.SH NAME
ibv_inc_rkey \- creates a new rkey from the given one
.SH SYNOPSIS
.IP
.EX
#include <infiniband/verbs.h>

uint32_t ibv_inc_rkey(uint32_t rkey);
.EE
.SH DESCRIPTION
\f[B]ibv_inc_rkey()\f[R] Increases the 8 LSB of \f[I]rkey\f[R] and
returns the new value.
.SH RETURN VALUE
\f[B]ibv_inc_rkey()\f[R] returns the new rkey.
.SH NOTES
The verb generates a new rkey that is different from the previous one on
its tag part but has the same index (bits 0xffffff00).
A use case for this verb can be to create a new rkey from a Memory
window\[cq]s rkey when binding it to a Memory region.
.SH AUTHORS
Majd Dibbiny \c
.MT majd@mellanox.com
.ME \c
, Yishai Hadas \c
.MT yishaih@mellanox.com
.ME \c
