1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nvme_id_ctrl_fna - This field indicates attributes for the Format
7 NVM command.
8
10 enum nvme_id_ctrl_fna {
11 NVME_CTRL_FNA_FMT_ALL_NAMESPACES ,
12 NVME_CTRL_FNA_SEC_ALL_NAMESPACES ,
13 NVME_CTRL_FNA_CRYPTO_ERASE ,
14 NVME_CTRL_FNA_NSID_FFFFFFFF
15
16 };
17
19 NVME_CTRL_FNA_FMT_ALL_NAMESPACES
20 If set, then all namespaces in an NVM subsystem shall be
21 configured with the same attributes and a format (excluding
22 secure erase) of any namespace results in a format of all
23 namespaces in an NVM subsystem. If cleared, then the con‐
24 troller supports format on a per namespace basis.
25
26 NVME_CTRL_FNA_SEC_ALL_NAMESPACES
27 If set, then any secure erase performed as part of a format
28 operation results in a secure erase of all namespaces in
29 the NVM subsystem. If cleared, then any secure erase per‐
30 formed as part of a format results in a secure erase of the
31 particular namespace specified.
32
33 NVME_CTRL_FNA_CRYPTO_ERASE
34 If set, then cryptographic erase is supported. If cleared,
35 then cryptographic erase is not supported.
36
37 NVME_CTRL_FNA_NSID_FFFFFFFF
38 If set, then format does not support nsid value set to
39 FFFFFFFFh. If cleared, format supports nsid value set to
40 FFFFFFFFh.
41
42
43
44October 2023 enum nvme_id_ctrl_fna libnvme(9)