[v3,1/5] vhost: add user to mailmap and define to vhost hdr

Message ID 20251104042142.2787631-2-pravin.bathija@dell.com (mailing list archive)
State New
Delegated to: Maxime Coquelin
Headers
Series Support add/remove memory region & get-max-slots |

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

Bathija, Pravin Nov. 4, 2025, 4:21 a.m. UTC
- add user to mailmap fle
- define a bit-field called VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS
that depicts if the fature/capability to add/remove memory regions is
supported. This is a part of the overall support for add/remove
memory region feature in this patchset.

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

Comments

fengchengwen Nov. 4, 2025, 7:15 a.m. UTC | #1
Please fix a typo below
Acked-by: Chengwen Feng <fengchengwen@huawei.com>

On 11/4/2025 12:21 PM, Pravin M Bathija wrote:
> - add user to mailmap fle
> - define a bit-field called VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS
> that depicts if the fature/capability to add/remove memory regions is

fature -> feature

> supported. This is a part of the overall support for add/remove
> memory region feature in this patchset.
> 
> Signed-off-by: Pravin M Bathija <pravin.bathija@dell.com>
  
Bathija, Pravin Nov. 11, 2025, 11:14 a.m. UTC | #2
Responses inline.


Internal Use - Confidential
> -----Original Message-----
> From: fengchengwen <fengchengwen@huawei.com>
> Sent: Monday, November 3, 2025 11:15 PM
> To: Bathija, Pravin <Pravin.Bathija@dell.com>; dev@dpdk.org
> Cc: pravin.m.bathija.dev@gmail.com
> Subject: Re: [PATCH v3 1/5] vhost: add user to mailmap and define to vhost hdr
>
>
> [EXTERNAL EMAIL]
>
> Please fix a typo below
> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
>
> On 11/4/2025 12:21 PM, Pravin M Bathija wrote:
> > - add user to mailmap fle
> > - define a bit-field called
> VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS
> > that depicts if the fature/capability to add/remove memory regions is
>
> fature -> feature
Made the change as suggested in latest patch v4.
>
> > supported. This is a part of the overall support for add/remove memory
> > region feature in this patchset.
> >
> > Signed-off-by: Pravin M Bathija <pravin.bathija@dell.com>
  

Patch

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