]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
types.h: add missing enum for format nvm attributes
authorAnkit Kumar <ankit.kumar@samsung.com>
Wed, 8 Jun 2022 17:34:52 +0000 (23:04 +0530)
committerAnkit Kumar <ankit.kumar@samsung.com>
Wed, 8 Jun 2022 17:41:54 +0000 (23:11 +0530)
Add bit3, format NVM command support nsid value set to
FFFFFFFFh enum and its description.

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
src/nvme/types.h

index 42110fd49dbf6ab19043b86da2e370d7b94508cb..3ec15b68f252c11fffdb614c0a906af677079cc7 100644 (file)
@@ -1529,11 +1529,16 @@ enum nvme_id_ctrl_fuses {
  * @NVME_CTRL_FNA_CRYPTO_ERASE:       If set, then cryptographic erase is
  *                                   supported. If cleared, then cryptographic
  *                                   erase is not supported.
+ * @NVME_CTRL_FNA_NSID_FFFFFFFF:      If set, then format does not support
+ *                                   nsid value set to FFFFFFFFh. If cleared,
+ *                                   format supports nsid value set to
+ *                                   FFFFFFFFh.
  */
 enum nvme_id_ctrl_fna {
        NVME_CTRL_FNA_FMT_ALL_NAMESPACES        = 1 << 0,
        NVME_CTRL_FNA_SEC_ALL_NAMESPACES        = 1 << 1,
        NVME_CTRL_FNA_CRYPTO_ERASE              = 1 << 2,
+       NVME_CTRL_FNA_NSID_FFFFFFFF             = 1 << 3,
 };
 
 /**