[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/31] vdpa: accept VIRTIO_NET_F_SPEED_DUPLEX in SVQ
From: |
Michael S. Tsirkin |
Subject: |
[PULL 03/31] vdpa: accept VIRTIO_NET_F_SPEED_DUPLEX in SVQ |
Date: |
Tue, 25 Apr 2023 03:44:52 -0400 |
From: Eugenio Pérez <eperezma@redhat.com>
There is no reason to block it as it has nothing to do with the vrings.
All the support of the feature comes via config space.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Suggested-by: Alvaro Karsz <alvaro.karsz@solid-run.com>
Message-Id: <20230307170018.260557-1-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
net/vhost-vdpa.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c
index 99904a0da7..37cdc84562 100644
--- a/net/vhost-vdpa.c
+++ b/net/vhost-vdpa.c
@@ -104,7 +104,8 @@ static const uint64_t vdpa_svq_device_features =
/* VHOST_F_LOG_ALL is exposed by SVQ */
BIT_ULL(VHOST_F_LOG_ALL) |
BIT_ULL(VIRTIO_NET_F_RSC_EXT) |
- BIT_ULL(VIRTIO_NET_F_STANDBY);
+ BIT_ULL(VIRTIO_NET_F_STANDBY) |
+ BIT_ULL(VIRTIO_NET_F_SPEED_DUPLEX);
#define VHOST_VDPA_NET_CVQ_ASID 1
--
MST
- [PULL 00/31] virtio,pc,pci: fixes, features, cleanups, Michael S. Tsirkin, 2023/04/25
- [PULL 01/31] virtio: refresh vring region cache after updating a virtqueue size, Michael S. Tsirkin, 2023/04/25
- [PULL 03/31] vdpa: accept VIRTIO_NET_F_SPEED_DUPLEX in SVQ,
Michael S. Tsirkin <=
- [PULL 05/31] vhost: Drop unused eventfd_add|del hooks, Michael S. Tsirkin, 2023/04/25
- [PULL 04/31] meson_options.txt: Enable qom-cast-debug by default again, Michael S. Tsirkin, 2023/04/25
- [PULL 06/31] docs: vhost-user: Define memory region separately, Michael S. Tsirkin, 2023/04/25
- [PULL 08/31] virtio-balloon: optimize the virtio-balloon on the ARM platform, Michael S. Tsirkin, 2023/04/25
- [PULL 07/31] docs: vhost-user: Add Xen specific memory mapping support, Michael S. Tsirkin, 2023/04/25
- [PULL 02/31] Add my old and new work email mapping and use work email to support biosbits, Michael S. Tsirkin, 2023/04/25
- [PULL 09/31] MAINTAINERS: Mark AMD-Vi emulation as orphan, Michael S. Tsirkin, 2023/04/25
- [PULL 11/31] hw/i386/amd_iommu: Remove intermediate AMDVIState::devid field, Michael S. Tsirkin, 2023/04/25
- [PULL 10/31] hw/i386/amd_iommu: Explicit use of AMDVI_BASE_ADDR in amdvi_init, Michael S. Tsirkin, 2023/04/25
- [PULL 12/31] hw/i386/amd_iommu: Move capab_offset from AMDVIState to AMDVIPCIState, Michael S. Tsirkin, 2023/04/25