[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/16] virtio: pci: virtio_pci_common_cfg add queue_reset
From: |
Kangjie Xu |
Subject: |
[PATCH 03/16] virtio: pci: virtio_pci_common_cfg add queue_reset |
Date: |
Mon, 18 Jul 2022 19:17:00 +0800 |
From: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Add queue_reset in virtio_pci_common_cfg.
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
---
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 598ebe9825..9feb865636 100644
--- a/include/standard-headers/linux/virtio_pci.h
+++ b/include/standard-headers/linux/virtio_pci.h
@@ -165,6 +165,7 @@ struct virtio_pci_common_cfg {
uint32_t queue_used_lo; /* read-write */
uint32_t queue_used_hi; /* read-write */
uint16_t queue_notify_data; /* read-write */
+ uint16_t queue_reset; /* read-write */
};
/* Fields in VIRTIO_PCI_CAP_PCI_CFG: */
@@ -204,6 +205,7 @@ struct virtio_pci_cfg_cap {
#define VIRTIO_PCI_COMMON_Q_USEDLO 48
#define VIRTIO_PCI_COMMON_Q_USEDHI 52
#define VIRTIO_PCI_COMMON_Q_NOTIFY_DATA 56
+#define VIRTIO_PCI_COMMON_Q_RESET 58
#endif /* VIRTIO_PCI_NO_MODERN */
--
2.32.0
- Re: [PATCH 08/16] vhost: add op to enable or disable a single vring, (continued)
[PATCH 04/16] virtio: introduce __virtio_queue_reset(), Kangjie Xu, 2022/07/18
[PATCH 15/16] virtio-net: support queue_reset for vhost-user, Kangjie Xu, 2022/07/18
[PATCH 06/16] virtio-pci: support queue reset, Kangjie Xu, 2022/07/18
[PATCH 12/16] vhost-net: introduce restart and stop for vhost_net's vqs, Kangjie Xu, 2022/07/18
[PATCH 03/16] virtio: pci: virtio_pci_common_cfg add queue_reset,
Kangjie Xu <=
[PATCH 09/16] vhost-user: enable/disable a single vring, Kangjie Xu, 2022/07/18
[PATCH 14/16] virtio-net: support queue_enable for vhost-user, Kangjie Xu, 2022/07/18
[PATCH 02/16] virtio: add VIRTIO_F_RING_RESET, Kangjie Xu, 2022/07/18