nvme_mi_admin_get_log - Man Page

Retrieve log page data from controller

Synopsis

int nvme_mi_admin_get_log (nvme_mi_ctrl_t ctrl , struct nvme_get_log_args *args );

Arguments

ctrl

Controller to query

args

Get Log Page command arguments

Description

Performs a Get Log Page Admin command as specified by args. Response data is stored in args->data, which should be a buffer of args->data_len bytes. Resulting data length is stored in args->data_len on successful command completion.

This request may be implemented as multiple log page commands, in order to fit within MI message-size limits.

See: struct nvme_get_log_args

Return

0 on success, non-zero on failure

Info

August 2022 libnvme API manual