On Tue, May 5, 2026 at 7:53 AM <[email protected]> wrote:

> From: Pravin M Bathija <[email protected]>
>
> - add user to mailmap file.
> - define a bit-field called VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS
>   that depicts if the feature/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 <[email protected]>
> ---
>  .mailmap              | 1 +
>  lib/vhost/rte_vhost.h | 4 ++++
>  2 files changed, 5 insertions(+)
>
> diff --git a/.mailmap b/.mailmap
> index 0e0d83e1c6..cc44e27036 100644
> --- a/.mailmap
> +++ b/.mailmap
> @@ -1295,6 +1295,7 @@ Prateek Agarwal <[email protected]>
>  Prathisna Padmasanan <[email protected]>
>  Praveen Kaligineedi <[email protected]>
>  Praveen Shetty <[email protected]>
> +Pravin M Bathija <[email protected]>
>  Pravin Pathak <[email protected]> <[email protected]>
>  Prince Takkar <[email protected]>
>  Priyalee Kushwaha <[email protected]>
> 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
>
>
Reviewed-by: Maxime Coquelin <[email protected]>

Thanks,
Maxime

Reply via email to