[dpdk-dev] [PATCH] vhost: mark vDPA driver API as internal
David Marchand
david.marchand at redhat.com
Thu Oct 28 14:38:33 CEST 2021
On Thu, Oct 28, 2021 at 2:03 PM Maxime Coquelin
<maxime.coquelin at 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 at 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
More information about the dev
mailing list