aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nvme.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 9ba53584f72..1c0b5ef0895 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -142,6 +142,18 @@ enum nvme_opcode {
142 nvme_cmd_dsm = 0x09, 142 nvme_cmd_dsm = 0x09,
143}; 143};
144 144
145struct nvme_common_command {
146 __u8 opcode;
147 __u8 flags;
148 __u16 command_id;
149 __le32 nsid;
150 __u64 rsvd2;
151 __le64 metadata;
152 __le64 prp1;
153 __le64 prp2;
154 __u32 rsvd10[6];
155};
156
145struct nvme_rw_command { 157struct nvme_rw_command {
146 __u8 opcode; 158 __u8 opcode;
147 __u8 flags; 159 __u8 flags;
@@ -284,14 +296,6 @@ struct nvme_delete_queue {
284 __le32 rsvd11[5]; 296 __le32 rsvd11[5];
285}; 297};
286 298
287struct nvme_common_command {
288 __u8 opcode;
289 __u8 flags;
290 __u16 command_id;
291 __le32 nsid;
292 __u32 rsvd2[14];
293};
294
295struct nvme_command { 299struct nvme_command {
296 union { 300 union {
297 struct nvme_common_command common; 301 struct nvme_common_command common;