From: David Marchand <david.marchand@redhat.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>
Cc: dev <dev@dpdk.org>, "Xia, Chenbo" <chenbo.xia@intel.com>,
"Xueming(Steven) Li" <xuemingl@nvidia.com>,
Xiao Wang <xiao.w.wang@intel.com>,
techboard@dpdk.org, Thomas Monjalon <thomas@monjalon.net>,
Ray Kinsella <mdr@ashroe.eu>
Subject: Re: [dpdk-dev] [PATCH] vhost: mark vDPA driver API as internal
Date: Thu, 28 Oct 2021 14:38:33 +0200 [thread overview]
Message-ID: <CAJFAV8z53O0Gr8jrzH96kVsQmEz8OxQtE9genDLDEvgTuMyZJQ@mail.gmail.com> (raw)
In-Reply-To: <20211028120329.44710-1-maxime.coquelin@redhat.com>
On Thu, Oct 28, 2021 at 2:03 PM Maxime Coquelin
<maxime.coquelin@redhat.com> wrote:
>
> This patch marks the vDPA driver APIs as internal and
> rename the corresponding header file.
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
> ---
> drivers/vdpa/ifc/ifcvf_vdpa.c | 2 +-
> drivers/vdpa/mlx5/mlx5_vdpa.h | 2 +-
> lib/vhost/meson.build | 4 +++-
> lib/vhost/vdpa.c | 2 +-
> lib/vhost/{rte_vdpa_dev.h => vdpa_dev.h} | 6 ++++++
It is more explicit it is a driver-only header if we rename as
vdpa_driver.h or vdpa_pmd.h.
[snip]
> @@ -86,3 +82,12 @@ EXPERIMENTAL {
> rte_vhost_async_channel_unregister_thread_unsafe;
> rte_vhost_clear_queue_thread_unsafe;
> };
> +
> +INTERNAL {
> + global;
> +
> + rte_vdpa_register_device;
> + rte_vdpa_unregister_device;
> + rte_vhost_host_notifier_ctrl;
> + rte_vdpa_relay_vring_used;
> +};
Alphabetical order, please.
Please also add a note in the release notes.
Strictly speaking, this is an announced API change.
Cc: techboard.
The rest lgtm.
Thanks.
--
David Marchand
next prev parent reply other threads:[~2021-10-28 12:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-28 12:03 Maxime Coquelin
2021-10-28 12:38 ` David Marchand [this message]
2021-10-28 13:00 ` 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=CAJFAV8z53O0Gr8jrzH96kVsQmEz8OxQtE9genDLDEvgTuMyZJQ@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=chenbo.xia@intel.com \
--cc=dev@dpdk.org \
--cc=maxime.coquelin@redhat.com \
--cc=mdr@ashroe.eu \
--cc=techboard@dpdk.org \
--cc=thomas@monjalon.net \
--cc=xiao.w.wang@intel.com \
--cc=xuemingl@nvidia.com \
/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;
as well as URLs for NNTP newsgroup(s).