[PATCH v2 2/6] virtio: increase number of mem regions to 128
Pravin M Bathija
pravin.bathija at dell.com
Wed Oct 8 11:04:40 CEST 2025
* increase number of memory regions from 8 to 128.
Signed-off-By: Pravin M Bathija <pravin.bathija at dell.com>
---
drivers/net/virtio/virtio_user/vhost_user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/virtio/virtio_user/vhost_user.c b/drivers/net/virtio/virtio_user/vhost_user.c
index 6c042f6186..2647002c5d 100644
--- a/drivers/net/virtio/virtio_user/vhost_user.c
+++ b/drivers/net/virtio/virtio_user/vhost_user.c
@@ -50,7 +50,7 @@ struct vhost_user_data {
/* The version of the protocol we support */
#define VHOST_USER_VERSION 0x1
-#define VHOST_MEMORY_MAX_NREGIONS 8
+#define VHOST_MEMORY_MAX_NREGIONS 128
struct vhost_memory {
uint32_t nregions;
uint32_t padding;
--
2.43.0
More information about the dev
mailing list