| 1 |
.TH "libnvme" 9 "enum nvme_id_ctrl_oncs" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
enum nvme_id_ctrl_oncs \- This field indicates the optional NVM commands and features supported by the controller. |
| 4 |
.SH SYNOPSIS |
| 5 |
enum nvme_id_ctrl_oncs { |
| 6 |
.br |
| 7 |
.BI " NVME_CTRL_ONCS_COMPARE" |
| 8 |
, |
| 9 |
.br |
| 10 |
.br |
| 11 |
.BI " NVME_CTRL_ONCS_WRITE_UNCORRECTABLE" |
| 12 |
, |
| 13 |
.br |
| 14 |
.br |
| 15 |
.BI " NVME_CTRL_ONCS_DSM" |
| 16 |
, |
| 17 |
.br |
| 18 |
.br |
| 19 |
.BI " NVME_CTRL_ONCS_WRITE_ZEROES" |
| 20 |
, |
| 21 |
.br |
| 22 |
.br |
| 23 |
.BI " NVME_CTRL_ONCS_SAVE_FEATURES" |
| 24 |
, |
| 25 |
.br |
| 26 |
.br |
| 27 |
.BI " NVME_CTRL_ONCS_RESERVATIONS" |
| 28 |
, |
| 29 |
.br |
| 30 |
.br |
| 31 |
.BI " NVME_CTRL_ONCS_TIMESTAMP" |
| 32 |
, |
| 33 |
.br |
| 34 |
.br |
| 35 |
.BI " NVME_CTRL_ONCS_VERIFY" |
| 36 |
, |
| 37 |
.br |
| 38 |
.br |
| 39 |
.BI " NVME_CTRL_ONCS_COPY" |
| 40 |
, |
| 41 |
.br |
| 42 |
.br |
| 43 |
.BI " NVME_CTRL_ONCS_COPY_SINGLE_ATOMICITY" |
| 44 |
, |
| 45 |
.br |
| 46 |
.br |
| 47 |
.BI " NVME_CTRL_ONCS_ALL_FAST_COPY" |
| 48 |
, |
| 49 |
.br |
| 50 |
.br |
| 51 |
.BI " NVME_CTRL_ONCS_WRITE_ZEROES_DEALLOCATE" |
| 52 |
, |
| 53 |
.br |
| 54 |
.br |
| 55 |
.BI " NVME_CTRL_ONCS_NAMESPACE_ZEROES" |
| 56 |
|
| 57 |
}; |
| 58 |
.SH Constants |
| 59 |
.IP "NVME_CTRL_ONCS_COMPARE" 12 |
| 60 |
If set, then the controller supports |
| 61 |
the Compare command. |
| 62 |
.IP "NVME_CTRL_ONCS_WRITE_UNCORRECTABLE" 12 |
| 63 |
If set, then the controller supports |
| 64 |
the Write Uncorrectable command. |
| 65 |
.IP "NVME_CTRL_ONCS_DSM" 12 |
| 66 |
If set, then the controller supports |
| 67 |
the Dataset Management command. |
| 68 |
.IP "NVME_CTRL_ONCS_WRITE_ZEROES" 12 |
| 69 |
If set, then the controller supports |
| 70 |
the Write Zeroes command. |
| 71 |
.IP "NVME_CTRL_ONCS_SAVE_FEATURES" 12 |
| 72 |
If set, then the controller supports |
| 73 |
the Save field set to a non-zero value |
| 74 |
in the Set Features command and the |
| 75 |
Select field set to a non-zero value in |
| 76 |
the Get Features command. |
| 77 |
.IP "NVME_CTRL_ONCS_RESERVATIONS" 12 |
| 78 |
If set, then the controller supports |
| 79 |
reservations. |
| 80 |
.IP "NVME_CTRL_ONCS_TIMESTAMP" 12 |
| 81 |
If set, then the controller supports |
| 82 |
the Timestamp feature. |
| 83 |
.IP "NVME_CTRL_ONCS_VERIFY" 12 |
| 84 |
If set, then the controller supports |
| 85 |
the Verify command. |
| 86 |
.IP "NVME_CTRL_ONCS_COPY" 12 |
| 87 |
If set, then the controller supports |
| 88 |
the copy command. |
| 89 |
.IP "NVME_CTRL_ONCS_COPY_SINGLE_ATOMICITY" 12 |
| 90 |
If set, then the write portion of a |
| 91 |
Copy command is performed as a single |
| 92 |
write command to which the same |
| 93 |
atomicity requirements that apply to |
| 94 |
a write command apply. |
| 95 |
.IP "NVME_CTRL_ONCS_ALL_FAST_COPY" 12 |
| 96 |
If set, then all copy operations for |
| 97 |
the Copy command are fast copy |
| 98 |
operations. |
| 99 |
.IP "NVME_CTRL_ONCS_WRITE_ZEROES_DEALLOCATE" 12 |
| 100 |
If MAXWZD bit set, then the maximum data |
| 101 |
size for Write Zeroes command depends on the |
| 102 |
value of the Deallocate bit in the Write Zeroes |
| 103 |
command and the value in the WZDSL field in the |
| 104 |
I/O Command Set specific Identify Controller |
| 105 |
data structure. |
| 106 |
.IP "NVME_CTRL_ONCS_NAMESPACE_ZEROES" 12 |
| 107 |
If NSZS bit set, then the controller supports |
| 108 |
the Namespace Zeroes (NSZ) bit in the NVM |
| 109 |
Command Set Write Zeroes command. |