Skip to content

Commit

Permalink
types: Added new controller attribute as per TP4104
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
nitin-sao authored and igaw committed Jul 17, 2024
1 parent ccfb160 commit 711da8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -1571,6 +1571,7 @@ enum nvme_id_ctrl_oaes {
* @NVME_CTRL_CTRATT_DEL_NVM_SETS: Delete NVM Sets supported
* @NVME_CTRL_CTRATT_ELBAS: Extended LBA Formats supported
* @NVME_CTRL_CTRATT_MEM: MDTS and Size Limits Exclude Metadata supported
* @NVME_CTRL_CTRATT_HMBR: HMB Restrict Non-Operational Power State Access
* @NVME_CTRL_CTRATT_FDPS: Flexible Data Placement supported
*/
enum nvme_id_ctrl_ctratt {
Expand All @@ -1591,6 +1592,7 @@ enum nvme_id_ctrl_ctratt {
NVME_CTRL_CTRATT_DEL_NVM_SETS = 1 << 14,
NVME_CTRL_CTRATT_ELBAS = 1 << 15,
NVME_CTRL_CTRATT_MEM = 1 << 16,
NVME_CTRL_CTRATT_HMBR = 1 << 17,
NVME_CTRL_CTRATT_FDPS = 1 << 19,
};

Expand Down

0 comments on commit 711da8d

Please sign in to comment.