nvme_get_features_host_behavior - Man Page

Get host behavior feature

Synopsis

int nvme_get_features_host_behavior (int fd , enum nvme_get_features_sel sel , struct nvme_feat_host_behavior *data , __u32 *result );

Arguments

fd

File descriptor of nvme device

sel

Select which type of attribute to return, see enum nvme_get_features_sel

data

Pointer to structure nvme_feat_host_behavior

result

The command completion result from CQE dword0

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