nvmf_register_ctrl2
Perform registration task with a dc
Usage
int nvmf_register_ctrl (nvme_ctrl_t 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; on failure -1 is returned and errno is set
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.