> On Oct 9, 2024, at 21:00, Maxime Coquelin <maxime.coque...@redhat.com> wrote: > > External email: Use caution opening links or attachments > > > This patch promotes the rte_vhost_driver_set_max_queue_num > API to stable. > > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > lib/vhost/rte_vhost.h | 4 ---- > lib/vhost/version.map | 2 +- > 2 files changed, 1 insertion(+), 5 deletions(-) > > diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h > index 328281ba0f..0ce3f31cbe 100644 > --- a/lib/vhost/rte_vhost.h > +++ b/lib/vhost/rte_vhost.h > @@ -610,9 +610,6 @@ int > rte_vhost_driver_get_queue_num(const char *path, uint32_t *queue_num); > > /** > - * @warning > - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. > - * > * Set the maximum number of queue pairs supported by the device. > * The value set is ignored for Vhost-user backends. It is only taken into > * account with VDUSE backends. > @@ -624,7 +621,6 @@ rte_vhost_driver_get_queue_num(const char *path, uint32_t > *queue_num); > * @return > * 0 on success, -1 on failure > */ > -__rte_experimental > int > rte_vhost_driver_set_max_queue_num(const char *path, uint32_t > max_queue_pairs); > > diff --git a/lib/vhost/version.map b/lib/vhost/version.map > index 30bc312262..8333e100ed 100644 > --- a/lib/vhost/version.map > +++ b/lib/vhost/version.map > @@ -32,6 +32,7 @@ DPDK_25 { > rte_vhost_driver_get_vdpa_device; > rte_vhost_driver_register; > rte_vhost_driver_set_features; > + rte_vhost_driver_set_max_queue_num; > rte_vhost_driver_set_protocol_features; > rte_vhost_driver_start; > rte_vhost_driver_unregister; > @@ -97,7 +98,6 @@ EXPERIMENTAL { > rte_vhost_async_dma_unconfigure; > > # added in 23.07 > - rte_vhost_driver_set_max_queue_num; > rte_vhost_notify_guest; > }; > > — > 2.46.2 >
Reviewed-by: Chenbo Xia <chen...@nvidia.com>