ethdev: promote function for port count as stable

The function rte_eth_dev_count_total() was introduced one year ago
in the release 18.05. It can be declared non experimental in 19.05.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
This commit is contained in:
Thomas Monjalon 2019-04-18 00:59:28 +02:00 committed by Ferruh Yigit
parent 5294b80029
commit 998853bf12
3 changed files with 9 additions and 3 deletions

View File

@ -769,7 +769,7 @@ rte_eth_dev_count_avail(void)
return count;
}
uint16_t __rte_experimental
uint16_t
rte_eth_dev_count_total(void)
{
uint16_t port, count = 0;

View File

@ -1612,7 +1612,7 @@ uint16_t rte_eth_dev_count_avail(void);
* @return
* The total count of Ethernet devices.
*/
uint16_t __rte_experimental rte_eth_dev_count_total(void);
uint16_t rte_eth_dev_count_total(void);
/**
* Convert a numerical speed in Mbps to a bitmap flag that can be used in

View File

@ -229,11 +229,17 @@ DPDK_18.11 {
} DPDK_18.08;
DPDK_19.05 {
global:
rte_eth_dev_count_total;
} DPDK_18.11;
EXPERIMENTAL {
global:
rte_eth_devargs_parse;
rte_eth_dev_count_total;
rte_eth_dev_create;
rte_eth_dev_destroy;
rte_eth_dev_get_module_eeprom;