libnvmf_discover(9) libnvme API manual libnvmf_discover(9)

libnvmf_discover - Discover fabrics subsystems

int libnvmf_discover (struct libnvme_global_ctx *ctx , struct libnvmf_context *fctx );

Global context
Fabrics context

Performs discovery for fabrics subsystems and optionally connects.

0 on success, negative error code otherwise.

libnvmf_discover September 2026