nvme_id_ctrl_oncs - Man Page

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 ,

   NVME_CTRL_ONCS_COPY_SINGLE_ATOMICITY ,

   NVME_CTRL_ONCS_ALL_FAST_COPY ,

   NVME_CTRL_ONCS_WRITE_ZEROES_DEALLOCATE ,

   NVME_CTRL_ONCS_NAMESPACE_ZEROES

};

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.

NVME_CTRL_ONCS_COPY_SINGLE_ATOMICITY

If set, then the write portion of a Copy command is performed as a single write command to which the same atomicity requirements that apply to a write command apply.

NVME_CTRL_ONCS_ALL_FAST_COPY

If set, then all copy operations for the Copy command are fast copy operations.

NVME_CTRL_ONCS_WRITE_ZEROES_DEALLOCATE

If MAXWZD bit set, then the maximum data size for Write Zeroes command depends on the value of the Deallocate bit in the Write Zeroes command and the value in the WZDSL field in the I/O Command Set specific Identify Controller data structure.

NVME_CTRL_ONCS_NAMESPACE_ZEROES

If NSZS bit set, then the controller supports the Namespace Zeroes (NSZ) bit in the NVM Command Set Write Zeroes command.

Info

enum nvme_id_ctrl_oncs March 2025 API Manual