Skip to content

Commit 711da8d

Browse files
nitin-saoigaw
authored andcommitted
types: Added new controller attribute as per TP4104
As per TP4104, a new controller attribute support is added as HMBR (HMB Restrict Non-Operational Power State Access) under nvme_id_ctrl_ctratt. Signed-off-by: Nitin Sao <[email protected]> Reviewed-by: Steven Seungcheol Lee <[email protected]> Reviewed-by: Mohit Kapoor <[email protected]>
1 parent ccfb160 commit 711da8d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/nvme/types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,6 +1571,7 @@ enum nvme_id_ctrl_oaes {
15711571
* @NVME_CTRL_CTRATT_DEL_NVM_SETS: Delete NVM Sets supported
15721572
* @NVME_CTRL_CTRATT_ELBAS: Extended LBA Formats supported
15731573
* @NVME_CTRL_CTRATT_MEM: MDTS and Size Limits Exclude Metadata supported
1574+
* @NVME_CTRL_CTRATT_HMBR: HMB Restrict Non-Operational Power State Access
15741575
* @NVME_CTRL_CTRATT_FDPS: Flexible Data Placement supported
15751576
*/
15761577
enum nvme_id_ctrl_ctratt {
@@ -1591,6 +1592,7 @@ enum nvme_id_ctrl_ctratt {
15911592
NVME_CTRL_CTRATT_DEL_NVM_SETS = 1 << 14,
15921593
NVME_CTRL_CTRATT_ELBAS = 1 << 15,
15931594
NVME_CTRL_CTRATT_MEM = 1 << 16,
1595+
NVME_CTRL_CTRATT_HMBR = 1 << 17,
15941596
NVME_CTRL_CTRATT_FDPS = 1 << 19,
15951597
};
15961598

0 commit comments

Comments
 (0)