* increase number of memory regions from 8 to 128.
Signed-off-By: Pravin M Bathija <[email protected]>
---
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