Skip to content

Commit

Permalink
types: add struct nvme_id_ctrl_nvm ver and lbamqf member variables
Browse files Browse the repository at this point in the history
Supported the I/O command set specific indentify controller data structure
fields below by NVMe 2.1.
  1. version reporting
  2. PCIe infrastructure for live migration

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t authored and igaw committed Oct 28, 2024
1 parent 26a89d5 commit 17cead2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -2870,7 +2870,9 @@ struct nvme_ns_list {
* @dmsl: Dataset Management Size Limit
* @rsvd16: Reserved
* @aocs: Admin Optional Command Support
* @rsvd20: Reserved
* @ver: Version
* @lbamqf: LBA Migration Queue Format
* @rsvd25: Reserved
*/
struct nvme_id_ctrl_nvm {
__u8 vsl;
Expand All @@ -2881,7 +2883,9 @@ struct nvme_id_ctrl_nvm {
__le64 dmsl;
__u8 rsvd16[2];
__le16 aocs;
__u8 rsvd20[4076];
__le32 ver;
__u8 lbamqf;
__u8 rsvd25[4071];
};

/**
Expand Down

0 comments on commit 17cead2

Please sign in to comment.