[PATCH v2 1/6] vhost: add define for configure mem slot

Pravin M Bathija pravin.bathija at dell.com
Wed Oct 8 11:04:39 CEST 2025


* add user to mailmap file
* add define for configure memory slots

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

diff --git a/.mailmap b/.mailmap
index 0b043cb0c0..1725e5ddbd 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1266,6 +1266,7 @@ Prateek Agarwal <prateekag at cse.iitb.ac.in>
 Prathisna Padmasanan <prathisna.padmasanan at intel.com>
 Praveen Kaligineedi <pkaligineedi at google.com>
 Praveen Shetty <praveen.shetty at intel.com>
+Pravin M Bathija <pravin.bathija at dell.com> <pravin.m.bathija at gmail.com>
 Pravin Pathak <pravin.pathak.dev at gmail.com> <pravin.pathak at intel.com>
 Prince Takkar <ptakkar at marvell.com>
 Priyalee Kushwaha <priyalee.kushwaha at intel.com>
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 dev mailing list