]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
types: Add support for the OAQD ID controller field
authorBrandon Paupore <brandon.paupore@wdc.com>
Fri, 8 Sep 2023 20:30:33 +0000 (15:30 -0500)
committerDaniel Wagner <wagi@monom.org>
Wed, 20 Sep 2023 08:40:21 +0000 (10:40 +0200)
Signed-off-by: Brandon Paupore <brandon.paupore@wdc.com>
[dwagner: dropped generated documentation change]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
src/nvme/types.h

index b1bc72f7bdb7d55b9d967adfda23216e78d793c5..da08c15be2b685463598f7c5dcbb1be43c6d67f0 100644 (file)
@@ -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];