1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nvme_id_ctrl_oncs - This field indicates the optional NVM commands
7 and features supported by the controller.
8
10 enum nvme_id_ctrl_oncs {
11 NVME_CTRL_ONCS_COMPARE ,
12 NVME_CTRL_ONCS_WRITE_UNCORRECTABLE ,
13 NVME_CTRL_ONCS_DSM ,
14 NVME_CTRL_ONCS_WRITE_ZEROES ,
15 NVME_CTRL_ONCS_SAVE_FEATURES ,
16 NVME_CTRL_ONCS_RESERVATIONS ,
17 NVME_CTRL_ONCS_TIMESTAMP ,
18 NVME_CTRL_ONCS_VERIFY
19
20 };
21
23 NVME_CTRL_ONCS_COMPARE
24 If set, then the controller supports the Compare command.
25
26 NVME_CTRL_ONCS_WRITE_UNCORRECTABLE
27 If set, then the controller supports the Write Uncor‐
28 rectable command.
29
30 NVME_CTRL_ONCS_DSM
31 If set, then the controller supports the Dataset Management
32 command.
33
34 NVME_CTRL_ONCS_WRITE_ZEROES
35 If set, then the controller supports the Write Zeroes com‐
36 mand.
37
38 NVME_CTRL_ONCS_SAVE_FEATURES
39 If set, then the controller supports the Save field set to
40 a non-zero value in the Set Features command and the Select
41 field set to a non-zero value in the Get Features command.
42
43 NVME_CTRL_ONCS_RESERVATIONS
44 If set, then the controller supports reservations.
45
46 NVME_CTRL_ONCS_TIMESTAMP
47 If set, then the controller supports the Timestamp feature.
48
49 NVME_CTRL_ONCS_VERIFY
50 If set, then the controller supports the Verify command.
51
52
53
54April 2022 enum nvme_id_ctrl_oncs libnvme(9)