[PATCH 2/3] PATCH 25.03.0: vhost_user: configure memory slots

Pravin M Bathija pravin.bathija at dell.com
Fri Aug 8 07:13:04 CEST 2025


From: Pravin M Bathija <pravin.m.bathija.dev at gmail.com>

header definition to configure memory slots/regions

Signed-off-by: Pravin M Bathija <pravin.bathija at dell.com>
---
 lib/vhost/rte_vhost.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
index 2f7c4c0080..a7f9700538 100644
--- a/lib/vhost/rte_vhost.h
+++ b/lib/vhost/rte_vhost.h
@@ -109,6 +109,10 @@ extern "C" {
 #define VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD 12
 #endif
 
+#ifndef VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS
+#define VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS 15
+#endif
+
 #ifndef VHOST_USER_PROTOCOL_F_STATUS
 #define VHOST_USER_PROTOCOL_F_STATUS 16
 #endif
-- 
2.43.0



More information about the stable mailing list