On Thu, Oct 28, 2021 at 2:03 PM Maxime Coquelin
<maxime.coque...@redhat.com> wrote:
>
> This patch marks the vDPA driver APIs as internal and
> rename the corresponding header file.
>
> Signed-off-by: Maxime Coquelin <maxime.coque...@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

Reply via email to