Skip to content

Commit

Permalink
types: add new field added in TP4099
Browse files Browse the repository at this point in the history
As per TP4090, a new field is added as MEM (MDTS and Size Limits
Exclude Metadata) 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 11, 2024
1 parent f4c33a1 commit bad8dda
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 @@ -1570,6 +1570,7 @@ enum nvme_id_ctrl_oaes {
* @NVME_CTRL_CTRATT_DEL_ENDURANCE_GROUPS: Delete Endurance Groups supported
* @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_FDPS: Flexible Data Placement supported
*/
enum nvme_id_ctrl_ctratt {
Expand All @@ -1589,6 +1590,7 @@ enum nvme_id_ctrl_ctratt {
NVME_CTRL_CTRATT_DEL_ENDURANCE_GROUPS = 1 << 13,
NVME_CTRL_CTRATT_DEL_NVM_SETS = 1 << 14,
NVME_CTRL_CTRATT_ELBAS = 1 << 15,
NVME_CTRL_CTRATT_MEM = 1 << 16,
NVME_CTRL_CTRATT_FDPS = 1 << 19,
};

Expand Down

0 comments on commit bad8dda

Please sign in to comment.