Skip to contentSkip to conversation

net/vhost-vdpa: Whitelist virtio-net GSO for shadow virtqueue

PATCH New Eugenio Pérez 1 participant 1 message Feb 6 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/vhost-vdpa: Whitelist virtio-net GSO for shadow virtqueue

Even if it is deprecated by the VirtIO standard it does not affect the layout of the queue, or introduces new operations. So Shadow Virtqueue can handle it just fine.

Tested with OVS DPDK and VDUSE.

---
 net/vhost-vdpa.c | 1 +
 1 file changed, 1 insertion(+)
net/vhost-vdpa.c +1 -0
index 74d26a949725..df9513c8ab60 100644
@@ -116,6 +116,7 @@ static const uint64_t vdpa_svq_device_features =
     BIT_ULL(VIRTIO_NET_F_MRG_RXBUF) |
     BIT_ULL(VIRTIO_NET_F_STATUS) |
     BIT_ULL(VIRTIO_NET_F_CTRL_VQ) |
+    BIT_ULL(VIRTIO_NET_F_GSO) |
     BIT_ULL(VIRTIO_NET_F_CTRL_RX) |
     BIT_ULL(VIRTIO_NET_F_CTRL_VLAN) |
     BIT_ULL(VIRTIO_NET_F_CTRL_RX_EXTRA) |

--
2.53.0