vhost: promote per-queue stats API to stable
This patch promotes the per-queue stats API to stable. The API has been used by the Vhost PMD since v22.07, and David Marchand posted a patch to make use of it in next OVS release[0]. [0]: http://patchwork.ozlabs.org/project/openvswitch/patch/20221007111613.1695524-4-david.marchand@redhat.com/ Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
This commit is contained in:
parent
fd03876e71
commit
755a8eaf3f
@ -445,6 +445,10 @@ API Changes
|
||||
flows, as the final step of deprecation process that had been started
|
||||
in DPDK 21.11. See items ``PORT_REPRESENTOR``, ``REPRESENTED_PORT``.
|
||||
|
||||
* vhost: Promoted ``rte_vhost_vring_stats_get()``,
|
||||
``rte_vhost_vring_stats_get_names()`` and ``rte_vhost_vring_stats_reset()``
|
||||
from experimental to stable.
|
||||
|
||||
* cryptodev: The structure ``rte_cryptodev_sym_session`` was made internal.
|
||||
The API ``rte_cryptodev_sym_session_init`` and ``rte_cryptodev_sym_session_clear``
|
||||
were removed and user would only need to call ``rte_cryptodev_sym_session_create``
|
||||
|
@ -1090,7 +1090,6 @@ rte_vhost_slave_config_change(int vid, bool need_reply);
|
||||
* - Failure if lower than 0. The device ID or queue ID is invalid or
|
||||
+ statistics collection is not enabled.
|
||||
*/
|
||||
__rte_experimental
|
||||
int
|
||||
rte_vhost_vring_stats_get_names(int vid, uint16_t queue_id,
|
||||
struct rte_vhost_stat_name *name, unsigned int size);
|
||||
@ -1118,7 +1117,6 @@ rte_vhost_vring_stats_get_names(int vid, uint16_t queue_id,
|
||||
* - Failure if lower than 0. The device ID or queue ID is invalid, or
|
||||
* statistics collection is not enabled.
|
||||
*/
|
||||
__rte_experimental
|
||||
int
|
||||
rte_vhost_vring_stats_get(int vid, uint16_t queue_id,
|
||||
struct rte_vhost_stat *stats, unsigned int n);
|
||||
@ -1135,7 +1133,6 @@ rte_vhost_vring_stats_get(int vid, uint16_t queue_id,
|
||||
* - Failure if lower than 0. The device ID or queue ID is invalid, or
|
||||
* statistics collection is not enabled.
|
||||
*/
|
||||
__rte_experimental
|
||||
int
|
||||
rte_vhost_vring_stats_reset(int vid, uint16_t queue_id);
|
||||
|
||||
|
@ -57,6 +57,9 @@ DPDK_23 {
|
||||
rte_vhost_set_vring_base;
|
||||
rte_vhost_va_from_guest_pa;
|
||||
rte_vhost_vring_call;
|
||||
rte_vhost_vring_stats_get;
|
||||
rte_vhost_vring_stats_get_names;
|
||||
rte_vhost_vring_stats_reset;
|
||||
|
||||
local: *;
|
||||
};
|
||||
@ -88,9 +91,6 @@ EXPERIMENTAL {
|
||||
|
||||
# added in 22.07
|
||||
rte_vhost_async_get_inflight_thread_unsafe;
|
||||
rte_vhost_vring_stats_get_names;
|
||||
rte_vhost_vring_stats_get;
|
||||
rte_vhost_vring_stats_reset;
|
||||
rte_vhost_async_try_dequeue_burst;
|
||||
rte_vhost_driver_get_vdpa_dev_type;
|
||||
rte_vhost_clear_queue;
|
||||
|
Loading…
Reference in New Issue
Block a user