Skip to contentSkip to conversation

vdpa_sim: Document planned packed-ring support

PATCH New weimin xiong 1 participant 1 message Jul 13 virtio core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vdpa_sim: Document planned packed-ring support

From: xiongweimin <[email protected]>

Note that VIRTIO_F_RING_PACKED should be advertised once vringh packed helpers exist. No functional change.

---

drivers/vdpa/vdpa_sim/vdpa_sim.h +4 -0
@@ -13,6 +13,10 @@
 #include <linux/vhost_iotlb.h>
 #include <uapi/linux/virtio_config.h>
 
+/*
+ * Once vringh packed helpers land, also advertise VIRTIO_F_RING_PACKED
+ * here so vdpa_sim can exercise HW-like packed rings.
+ */
 #define VDPASIM_FEATURES	((1ULL << VIRTIO_F_ANY_LAYOUT) | \
 				 (1ULL << VIRTIO_F_VERSION_1)  | \
 				 (1ULL << VIRTIO_F_ACCESS_PLATFORM))