ibv_inc_rkey(3)

ibv_inc_rkey3

Usage

#include <infiniband/verbs.h>

uint32_t ibv_inc_rkey(uint32_t rkey);

Overview

ibv_inc_rkey() Increases the 8 LSB of rkey and returns the new value.

Return value

ibv_inc_rkey() returns the new rkey.

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's rkey when binding it to a Memory region.

Releases

Unchanged in 22 releases since FreeBSD 11.3-RELEASE.

  1. 11.3–16.0

Authors

Majd Dibbiny <[email protected]>
Yishai Hadas <[email protected]>

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's man source.