libnvmf_get_discovery_log-libnvme3(2)

libnvmf_get_discovery_log-libnvme32

Fetch the nvme-of discovery log page

Usage

int libnvmf_get_discovery_log (struct libnvme_ctrl *ctrl , const struct libnvmf_discovery_args *args , struct nvmf_discovery_log **logp );

Arguments

ctrl

Discovery controller

args

Optional arguments (pass NULL for defaults)

logp

On success, set to the allocated log page (caller must free)

Overview

Issues the three-phase Get Log Page protocol against ctrl, validates generation-counter atomicity, and normalises each log entry.

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.