nvme_get_directive_receive_length - Man Page

Get directive receive length

Synopsis

int nvme_get_directive_receive_length (enum nvme_directive_dtype dtype , enum nvme_directive_receive_doper doper , __u32 *len );

Arguments

dtype

Directive type, see enum nvme_directive_dtype

doper

Directive receive operation, see enum nvme_directive_receive_doper

len

On success, set to this directives payload length in bytes.

Return

0 on success, -1 with errno set to EINVAL if the function did not recognize dtype or doper.

Info

August 2022 libnvme API manual