From d8381a8f54cdc789c4260efefb5a17b9612f417e Mon Sep 17 00:00:00 2001 From: Maxime Coquelin Date: Wed, 9 Oct 2024 15:00:29 +0200 Subject: [PATCH] vhost: promote max queue setting API to stable This patch promotes the rte_vhost_driver_set_max_queue_num API to stable. Signed-off-by: Maxime Coquelin Acked-by: Stephen Hemminger Reviewed-by: Chenbo Xia --- 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 1a91a00f022..2f7c4c0080b 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 30bc3122627..8333e100ed5 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; };