aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2020-06-29 12:06:40 -0700
committerChristoph Hellwig <[email protected]>2020-07-08 16:16:20 +0200
commitbe93e87e780253780df9bb6ecc9bc1199b0d94c3 (patch)
treefb977ca410db28eb44dff6d9eaa87f958b4281dc /include/linux
parent71010c30945425203da8d069a10fa45a05a00f96 (diff)
nvme: support for multiple Command Sets Supported and Effects log pages
The Commands Supported and Effects log page was extended with a CSI field that enables the host to query the log page for each command set supported. Retrieve this log page for each command set that an attached namespace supports, and save a pointer to that log in the namespace head. Reviewed-by: Matias Bjørling <[email protected]> Reviewed-by: Javier González <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Daniel Wagner <[email protected]> Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nvme.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 81ffe5247505..95cd03e240a1 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -1101,7 +1101,9 @@ struct nvme_get_log_page_command {
};
__le64 lpo;
};
- __u32 rsvd14[2];
+ __u8 rsvd14[3];
+ __u8 csi;
+ __u32 rsvd15;
};
struct nvme_directive_cmd {