[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 51/86] virtio-net: enable vq reset feature
From: |
Michael S. Tsirkin |
Subject: |
[PULL 51/86] virtio-net: enable vq reset feature |
Date: |
Mon, 31 Oct 2022 08:53:08 -0400 |
From: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Add virtqueue reset feature for virtio-net
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Message-Id: <20221017092558.111082-16-xuanzhuo@linux.alibaba.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
hw/net/virtio-net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index f5adba45d5..975bbc22f9 100644
--- a/hw/net/virtio-net.c
+++ b/hw/net/virtio-net.c
@@ -788,6 +788,7 @@ static uint64_t virtio_net_get_features(VirtIODevice *vdev,
uint64_t features,
}
if (!get_vhost_net(nc->peer)) {
+ virtio_add_feature(&features, VIRTIO_F_RING_RESET);
return features;
}
--
MST
- [PULL 40/86] virtio: core: vq reset feature negotation support, (continued)
- [PULL 40/86] virtio: core: vq reset feature negotation support, Michael S. Tsirkin, 2022/10/31
- [PULL 41/86] virtio-pci: support queue reset, Michael S. Tsirkin, 2022/10/31
- [PULL 42/86] virtio-pci: support queue enable, Michael S. Tsirkin, 2022/10/31
- [PULL 43/86] vhost: expose vhost_virtqueue_start(), Michael S. Tsirkin, 2022/10/31
- [PULL 44/86] vhost: expose vhost_virtqueue_stop(), Michael S. Tsirkin, 2022/10/31
- [PULL 45/86] vhost-net: vhost-kernel: introduce vhost_net_virtqueue_reset(), Michael S. Tsirkin, 2022/10/31
- [PULL 46/86] vhost-net: vhost-kernel: introduce vhost_net_virtqueue_restart(), Michael S. Tsirkin, 2022/10/31
- [PULL 47/86] virtio-net: introduce flush_or_purge_queued_packets(), Michael S. Tsirkin, 2022/10/31
- [PULL 49/86] virtio-net: support queue_enable, Michael S. Tsirkin, 2022/10/31
- [PULL 48/86] virtio-net: support queue reset, Michael S. Tsirkin, 2022/10/31
- [PULL 51/86] virtio-net: enable vq reset feature,
Michael S. Tsirkin <=
- [PULL 50/86] vhost: vhost-kernel: enable vq reset feature, Michael S. Tsirkin, 2022/10/31
- [PULL 52/86] virtio-rng-pci: Allow setting nvectors, so we can use MSI-X, Michael S. Tsirkin, 2022/10/31
- [PULL 53/86] vhost-user: Fix out of order vring host notification handling, Michael S. Tsirkin, 2022/10/31
- [PULL 54/86] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors, Michael S. Tsirkin, 2022/10/31
- [PULL 55/86] tests: acpi: whitelist DSDT before generating PCI-ISA bridge AML automatically, Michael S. Tsirkin, 2022/10/31
- [PULL 56/86] acpi: pc/q35: drop ad-hoc PCI-ISA bridge AML routines and let bus ennumeration generate AML, Michael S. Tsirkin, 2022/10/31
- [PULL 57/86] tests: acpi: update expected DSDT after ISA bridge is moved directly under PCI host bridge, Michael S. Tsirkin, 2022/10/31
- [PULL 58/86] tests: acpi: whitelist DSDT before generating ICH9_SMB AML automatically, Michael S. Tsirkin, 2022/10/31
- [PULL 59/86] acpi: add get_dev_aml_func() helper, Michael S. Tsirkin, 2022/10/31
- [PULL 60/86] acpi: enumerate SMB bridge automatically along with other PCI devices, Michael S. Tsirkin, 2022/10/31