提交 725b3588 编写于 作者: A Armen Baloyan 提交者: Jens Axboe

nvme.h: Add get_log_page command strucure

Add get_log_page command structure and a corresponding entry in
nvme_command union
Signed-off-by: NArmen Baloyan <armenx.baloyan@intel.com>
Reviewed-by: NJay Freyensee <james.p.freyensee@intel.com>
Reviewed--by: NSagi Grimberg <sagi@grimberg.me>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
Reviewed-by: NKeith Busch <keith.busch@intel.com>
Signed-off-by: NJens Axboe <axboe@fb.com>
上级 14e974a8
......@@ -519,6 +519,24 @@ struct nvme_format_cmd {
__u32 rsvd11[5];
};
struct nvme_get_log_page_command {
__u8 opcode;
__u8 flags;
__u16 command_id;
__le32 nsid;
__u64 rsvd2[2];
__le64 prp1;
__le64 prp2;
__u8 lid;
__u8 rsvd10;
__le16 numdl;
__le16 numdu;
__u16 rsvd11;
__le32 lpol;
__le32 lpou;
__u32 rsvd14[2];
};
struct nvme_command {
union {
struct nvme_common_command common;
......@@ -532,6 +550,7 @@ struct nvme_command {
struct nvme_format_cmd format;
struct nvme_dsm_cmd dsm;
struct nvme_abort_cmd abort;
struct nvme_get_log_page_command get_log_page;
};
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册