qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 01/16] virtio-pci: virtio_pci_common_cfg add queue_notify_dat


From: Kangjie Xu
Subject: Re: [PATCH 01/16] virtio-pci: virtio_pci_common_cfg add queue_notify_data
Date: Tue, 26 Jul 2022 14:16:51 +0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0


在 2022/7/26 11:17, Jason Wang 写道:

在 2022/7/18 19:16, Kangjie Xu 写道:
From: Xuan Zhuo <xuanzhuo@linux.alibaba.com>

Add queue_notify_data in struct virtio_pci_common_cfg, which comes from
here https://github.com/oasis-tcs/virtio-spec/issues/89

Since I want to add queue_reset after queue_notify_data, I submitted
this patch first.

Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>


This should be done by script/update-linux-headers.sh.

Thanks

Will fix.

Thanks


---
  include/standard-headers/linux/virtio_pci.h | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/include/standard-headers/linux/virtio_pci.h b/include/standard-headers/linux/virtio_pci.h
index db7a8e2fcb..598ebe9825 100644
--- a/include/standard-headers/linux/virtio_pci.h
+++ b/include/standard-headers/linux/virtio_pci.h
@@ -164,6 +164,7 @@ struct virtio_pci_common_cfg {
      uint32_t queue_avail_hi;        /* read-write */
      uint32_t queue_used_lo;        /* read-write */
      uint32_t queue_used_hi;        /* read-write */
+    uint16_t queue_notify_data;    /* read-write */
  };
    /* Fields in VIRTIO_PCI_CAP_PCI_CFG: */
@@ -202,6 +203,7 @@ struct virtio_pci_cfg_cap {
  #define VIRTIO_PCI_COMMON_Q_AVAILHI    44
  #define VIRTIO_PCI_COMMON_Q_USEDLO    48
  #define VIRTIO_PCI_COMMON_Q_USEDHI    52
+#define VIRTIO_PCI_COMMON_Q_NOTIFY_DATA    56
    #endif /* VIRTIO_PCI_NO_MODERN */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]