ethdev: promote function for port count as stable
authorThomas Monjalon <thomas@monjalon.net>
Wed, 17 Apr 2019 22:59:28 +0000 (00:59 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:55 +0000 (14:51 +0200)
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>
lib/librte_ethdev/rte_ethdev.c
lib/librte_ethdev/rte_ethdev.h
lib/librte_ethdev/rte_ethdev_version.map

index ba6fc91..d7cfa3d 100644 (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;
index ca3a990..b8d19c6 100644 (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
index b37a416..afcd255 100644 (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;