Skip to content

Commit

Permalink
vhost: promote max queue setting API to stable
Browse files Browse the repository at this point in the history
This patch promotes the rte_vhost_driver_set_max_queue_num
API to stable.

Signed-off-by: Maxime Coquelin <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
Reviewed-by: Chenbo Xia <[email protected]>
  • Loading branch information
mcoquelin committed Oct 14, 2024
1 parent 5f7b981 commit d8381a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions lib/vhost/rte_vhost.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion lib/vhost/version.map
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
};

Expand Down

0 comments on commit d8381a8

Please sign in to comment.