libnvmf_register_ctrl-libnvme3(2)

libnvmf_register_ctrl-libnvme32

Perform registration task with a dc

Usage

int libnvmf_register_ctrl (struct libnvme_ctrl *c , enum nvmf_dim_tas tas , __u32 *result );

Arguments

c

Controller instance

tas

Task field of the Command Dword 10 (cdw10). Indicates whether to perform a Registration, Deregistration, or Registration-update.

result

The command-specific result returned by the DC upon command completion.

Overview

Perform registration task with a Discovery Controller (DC). Three tasks are supported: register, deregister, and registration update.

Return

0 on success, negative error code otherwise.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.