@@ -1700,18 +1700,25 @@ enum nvme_id_nsfeat {
17001700 * enum nvme_id_ns_flbas - This field indicates the LBA data size & metadata
17011701 * size combination that the namespace has been
17021702 * formatted with
1703- * @NVME_NS_FLBAS_LBA_MASK: Mask to get the index of one of the 16 supported
1704- * LBA Formats indicated in &struct nvme_id_ns.lbaf.
1705- * @NVME_NS_FLBAS_META_EXT: Applicable only if format contains metadata. If
1706- * this bit is set, indicates that the metadata is
1707- * transferred at the end of the data LBA, creating an
1708- * extended data LBA. If cleared, indicates that all
1709- * of the metadata for a command is transferred as a
1710- * separate contiguous buffer of data.
1703+ * @NVME_NS_FLBAS_LOWER_MASK: Mask to get the index of one of the supported
1704+ * LBA Formats's least significant
1705+ * 4bits indicated in
1706+ * :c:type:`struct nvme_id_ns <nvme_id_ns>`.lbaf.
1707+ * @NVME_NS_FLBAS_META_EXT: Applicable only if format contains metadata. If
1708+ * this bit is set, indicates that the metadata is
1709+ * transferred at the end of the data LBA, creating an
1710+ * extended data LBA. If cleared, indicates that all
1711+ * of the metadata for a command is transferred as a
1712+ * separate contiguous buffer of data.
1713+ * @NVME_NS_FLBAS_HIGHER_MASK: Mask to get the index of one of
1714+ * the supported LBA Formats's most significant
1715+ * 2bits indicated in
1716+ * :c:type:`struct nvme_id_ns <nvme_id_ns>`.lbaf.
17111717 */
17121718enum nvme_id_ns_flbas {
1713- NVME_NS_FLBAS_LBA_MASK = 15 << 0 ,
1719+ NVME_NS_FLBAS_LOWER_MASK = 15 << 0 ,
17141720 NVME_NS_FLBAS_META_EXT = 1 << 4 ,
1721+ NVME_NS_FLBAS_HIGHER_MASK = 3 << 5 ,
17151722};
17161723
17171724/**
0 commit comments