nvme_get_log_discovery - Man Page

Retrieve Discovery log page

Synopsis

int nvme_get_log_discovery (int fd , bool rae , __u32 offset , __u32 len , void *log );

Arguments

fd

File descriptor of nvme device

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

August 2022 libnvme API manual