DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] vhost: promote max queue setting API to stable
@ 2024-10-09 13:00 Maxime Coquelin
  2024-10-09 15:14 ` Stephen Hemminger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maxime Coquelin @ 2024-10-09 13:00 UTC (permalink / raw)
  To: dev, chenbox, david.marchand; +Cc: Maxime Coquelin

This patch promotes the rte_vhost_driver_set_max_queue_num
API to stable.

Signed-off-by: Maxime Coquelin <maxime.coquelin@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] vhost: promote max queue setting API to stable
  2024-10-09 13:00 [PATCH] vhost: promote max queue setting API to stable Maxime Coquelin
@ 2024-10-09 15:14 ` Stephen Hemminger
  2024-10-10  1:52 ` Chenbo Xia
  2024-10-14 11:47 ` Maxime Coquelin
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2024-10-09 15:14 UTC (permalink / raw)
  To: Maxime Coquelin; +Cc: dev, chenbox, david.marchand

On Wed,  9 Oct 2024 15:00:29 +0200
Maxime Coquelin <maxime.coquelin@redhat.com> wrote:

> This patch promotes the rte_vhost_driver_set_max_queue_num
> API to stable.
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Acked-by: Stephen Hemminger <stephen@networkplumber.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] vhost: promote max queue setting API to stable
  2024-10-09 13:00 [PATCH] vhost: promote max queue setting API to stable Maxime Coquelin
  2024-10-09 15:14 ` Stephen Hemminger
@ 2024-10-10  1:52 ` Chenbo Xia
  2024-10-14 11:47 ` Maxime Coquelin
  2 siblings, 0 replies; 4+ messages in thread
From: Chenbo Xia @ 2024-10-10  1:52 UTC (permalink / raw)
  To: Maxime Coquelin; +Cc: dev, David Marchand


> On Oct 9, 2024, at 21:00, Maxime Coquelin <maxime.coquelin@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.coquelin@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 <chenbox@nvidia.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] vhost: promote max queue setting API to stable
  2024-10-09 13:00 [PATCH] vhost: promote max queue setting API to stable Maxime Coquelin
  2024-10-09 15:14 ` Stephen Hemminger
  2024-10-10  1:52 ` Chenbo Xia
@ 2024-10-14 11:47 ` Maxime Coquelin
  2 siblings, 0 replies; 4+ messages in thread
From: Maxime Coquelin @ 2024-10-14 11:47 UTC (permalink / raw)
  To: dev, chenbox, david.marchand



On 10/9/24 15:00, Maxime Coquelin wrote:
> This patch promotes the rte_vhost_driver_set_max_queue_num
> API to stable.
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
> ---
>   lib/vhost/rte_vhost.h | 4 ----
>   lib/vhost/version.map | 2 +-
>   2 files changed, 1 insertion(+), 5 deletions(-)
> 

Applied to next-virtio/for-next-net

Thanks,
Maxime


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-14 11:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-09 13:00 [PATCH] vhost: promote max queue setting API to stable Maxime Coquelin
2024-10-09 15:14 ` Stephen Hemminger
2024-10-10  1:52 ` Chenbo Xia
2024-10-14 11:47 ` Maxime Coquelin

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).