nvme_id_ctrl_oncs(2)

This field indicates the optional NVM commands and features supported by the controller.

Section 2 libnvme-dev bookworm source

Description

libnvme

NAME

enum nvme_id_ctrl_oncs - This field indicates the optional NVM commands and features supported by the controller.

SYNOPSIS

enum nvme_id_ctrl_oncs {
NVME_CTRL_ONCS_COMPARE
,
NVME_CTRL_ONCS_WRITE_UNCORRECTABLE
,
NVME_CTRL_ONCS_DSM
,
NVME_CTRL_ONCS_WRITE_ZEROES
,
NVME_CTRL_ONCS_SAVE_FEATURES
,
NVME_CTRL_ONCS_RESERVATIONS
,
NVME_CTRL_ONCS_TIMESTAMP
,
NVME_CTRL_ONCS_VERIFY
,
NVME_CTRL_ONCS_COPY

};

Constants

NVME_CTRL_ONCS_COMPARE

If set, then the controller supports the Compare command.

NVME_CTRL_ONCS_WRITE_UNCORRECTABLE

If set, then the controller supports the Write Uncorrectable command.

NVME_CTRL_ONCS_DSM

If set, then the controller supports the Dataset Management command.

NVME_CTRL_ONCS_WRITE_ZEROES

If set, then the controller supports the Write Zeroes command.

NVME_CTRL_ONCS_SAVE_FEATURES

If set, then the controller supports the Save field set to a non-zero value in the Set Features command and the Select field set to a non-zero value in the Get Features command.

NVME_CTRL_ONCS_RESERVATIONS

If set, then the controller supports reservations.

NVME_CTRL_ONCS_TIMESTAMP

If set, then the controller supports the Timestamp feature.

NVME_CTRL_ONCS_VERIFY

If set, then the controller supports the Verify command.

NVME_CTRL_ONCS_COPY

If set, then the controller supports the copy command.