Skip to content

Commit 6de7efe

Browse files
brandon-paupore-sndkigaw
authored andcommitted
types: Add support for the OAQD ID controller field
Signed-off-by: Brandon Paupore <[email protected]> [dwagner: dropped generated documentation change] Signed-off-by: Daniel Wagner <[email protected]>
1 parent d1f7e69 commit 6de7efe

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/nvme/types.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,10 @@ struct nvme_id_psd {
930930
* @maxcna: Maximum I/O Controller Namespace Attachments indicates the
931931
* maximum number of namespaces that are allowed to be attached to
932932
* this I/O controller.
933-
* @rsvd564: Reserved
933+
* @oaqd: Optimal Aggregated Queue Depth indicates the recommended maximum
934+
* total number of outstanding I/O commands across all I/O queues
935+
* on the controller for optimal operation.
936+
* @rsvd568: Reserved
934937
* @subnqn: NVM Subsystem NVMe Qualified Name, UTF-8 null terminated string
935938
* @rsvd1024: Reserved
936939
* @ioccsz: I/O Queue Command Capsule Supported Size, defines the maximum
@@ -1035,7 +1038,8 @@ struct nvme_id_ctrl {
10351038
__le32 mnan;
10361039
__u8 maxdna[16];
10371040
__le32 maxcna;
1038-
__u8 rsvd564[204];
1041+
__le32 oaqd;
1042+
__u8 rsvd568[200];
10391043
char subnqn[NVME_NQN_LENGTH];
10401044
__u8 rsvd1024[768];
10411045

0 commit comments

Comments
 (0)