From 6de7efe32dbebb3b866cd5682851ea245412ed61 Mon Sep 17 00:00:00 2001 From: Brandon Paupore Date: Fri, 8 Sep 2023 15:30:33 -0500 Subject: [PATCH] types: Add support for the OAQD ID controller field Signed-off-by: Brandon Paupore [dwagner: dropped generated documentation change] Signed-off-by: Daniel Wagner --- src/nvme/types.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/nvme/types.h b/src/nvme/types.h index b1bc72f7..da08c15b 100644 --- a/src/nvme/types.h +++ b/src/nvme/types.h @@ -930,7 +930,10 @@ struct nvme_id_psd { * @maxcna: Maximum I/O Controller Namespace Attachments indicates the * maximum number of namespaces that are allowed to be attached to * this I/O controller. - * @rsvd564: Reserved + * @oaqd: Optimal Aggregated Queue Depth indicates the recommended maximum + * total number of outstanding I/O commands across all I/O queues + * on the controller for optimal operation. + * @rsvd568: Reserved * @subnqn: NVM Subsystem NVMe Qualified Name, UTF-8 null terminated string * @rsvd1024: Reserved * @ioccsz: I/O Queue Command Capsule Supported Size, defines the maximum @@ -1035,7 +1038,8 @@ struct nvme_id_ctrl { __le32 mnan; __u8 maxdna[16]; __le32 maxcna; - __u8 rsvd564[204]; + __le32 oaqd; + __u8 rsvd568[200]; char subnqn[NVME_NQN_LENGTH]; __u8 rsvd1024[768];