nvme_mi_admin_get_log_discovery - Man Page

Retrieve Discovery log page

Synopsis

int nvme_mi_admin_get_log_discovery (nvme_mi_ctrl_t ctrl , bool rae , __u32 offset , __u32 len , void *log );

Arguments

ctrl

Controller to query

rae

Retain asynchronous events

offset

Offset of this log to retrieve

len

The allocated size for this portion of the log

log

User address to store the discovery log

Description

Supported only by fabrics discovery controllers, returning discovery records.

Return

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

Info

November 2022 libnvme API manual