DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: David Marchand <david.marchand@redhat.com>, dev@dpdk.org
Cc: bruce.richardson@intel.com, Chenbo Xia <chenbox@nvidia.com>
Subject: Re: [PATCH v2 1/6] vhost: decouple guest pages population from async datapath
Date: Tue, 29 Sep 2026 09:45:32 +0200	[thread overview]
Message-ID: <d1508b1a-f845-4795-bd54-e476ddd2519c@redhat.com> (raw)
In-Reply-To: <20260904074649.1979166-2-david.marchand@redhat.com>



On 9/4/26 9:46 AM, David Marchand wrote:
> The vhost crypto zero-copy feature relies on the
> RTE_VHOST_USER_ASYNC_COPY flag to enable guest page tracking
> (guest_pages array population and MAP_POPULATE during mmap).
> 
> Introduce a RTE_VHOST_USER_MAP_POPULATE flag that maps to
> RTE_VHOST_USER_ASYNC_COPY at this point in time.
> 
> Adjust vhost_crypto example and remove the unnecessary
> ALLOW_EXPERIMENTAL_API flag as this example does not use any
> experimental APIs.
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
>   doc/guides/prog_guide/vhost_lib.rst | 9 +++++++++
>   examples/vhost_crypto/Makefile      | 1 -
>   examples/vhost_crypto/main.c        | 2 +-
>   examples/vhost_crypto/meson.build   | 1 -
>   lib/vhost/rte_vhost.h               | 1 +
>   lib/vhost/socket.c                  | 9 +++++++++
>   lib/vhost/vhost.h                   | 1 +
>   lib/vhost/vhost_user.c              | 4 ++--
>   8 files changed, 23 insertions(+), 5 deletions(-)
> 
Sounds reasonable to keep the same value as RTE_VHOST_USER_ASYNC_COPY to
not break compatibility for existing Vhsot-crypto applications.

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime


  reply	other threads:[~2026-09-29  7:47 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-23 15:31 [RFC 0/3] Drop vhost async (DMA-accelerated) datapath David Marchand
2026-07-23 15:31 ` [RFC 1/3] examples: stop using vhost async datapath David Marchand
2026-08-25 11:39   ` David Marchand
2026-07-23 15:31 ` [RFC 2/3] vhost: refuse " David Marchand
2026-07-23 15:31 ` [RFC 3/3] vhost: drop " David Marchand
2026-08-18  9:10 ` [RFC 0/3] Drop vhost async (DMA-accelerated) datapath Maxime Coquelin
2026-08-26 14:02 ` [PATCH 0/5] " David Marchand
2026-08-26 14:02   ` [PATCH 1/5] vhost: decouple guest pages population from async datapath David Marchand
2026-08-26 14:02   ` [PATCH 2/5] examples/vhost: stop using " David Marchand
2026-08-26 14:02   ` [PATCH 3/5] vhost: drop " David Marchand
2026-08-26 14:02   ` [PATCH 4/5] vhost: rename packed layout helpers for batches David Marchand
2026-08-26 14:02   ` [PATCH 5/5] vhost: simplify some descriptor handling David Marchand
2026-09-04  7:46 ` [PATCH v2 0/6] Drop vhost async (DMA-accelerated) datapath David Marchand
2026-09-04  7:46   ` [PATCH v2 1/6] vhost: decouple guest pages population from async datapath David Marchand
2026-09-29  7:45     ` Maxime Coquelin [this message]
2026-09-04  7:46   ` [PATCH v2 2/6] examples/vhost: stop using " David Marchand
2026-09-29  7:54     ` Maxime Coquelin
2026-09-04  7:46   ` [PATCH v2 3/6] examples/vdpa: remove dependency on PCI library David Marchand
2026-09-29  7:54     ` Maxime Coquelin
2026-09-04  7:46   ` [PATCH v2 4/6] vhost: drop async datapath David Marchand
2026-09-04  7:46   ` [PATCH v2 5/6] vhost: rename packed layout helpers for batches David Marchand
2026-09-04  7:46   ` [PATCH v2 6/6] vhost: simplify some descriptor handling David Marchand
2026-10-02  7:44 ` [PATCH v3 0/6] Drop vhost async (DMA-accelerated) datapath David Marchand
2026-10-02  7:44   ` [PATCH v3 1/6] vhost: decouple guest pages population from async datapath David Marchand
2026-10-02  7:44   ` [PATCH v3 2/6] examples/vhost: stop using " David Marchand
2026-10-02  7:44   ` [PATCH v3 3/6] examples/vdpa: remove dependency on PCI library David Marchand
2026-10-02  7:44   ` [PATCH v3 4/6] vhost: drop async datapath David Marchand
2026-10-05 19:07     ` Maxime Coquelin
2026-10-02  7:44   ` [PATCH v3 5/6] vhost: rename packed layout helpers for batches David Marchand
2026-10-05 19:14     ` Maxime Coquelin
2026-10-02  7:44   ` [PATCH v3 6/6] vhost: simplify some descriptor handling David Marchand
2026-10-05 19:24     ` Maxime Coquelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1508b1a-f845-4795-bd54-e476ddd2519c@redhat.com \
    --to=maxime.coquelin@redhat.com \
    --cc=bruce.richardson@intel.com \
    --cc=chenbox@nvidia.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox