[2/2] ethdev: promote function for port count as stable
Checks
Commit Message
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>
---
lib/librte_ethdev/rte_ethdev.c | 2 +-
lib/librte_ethdev/rte_ethdev.h | 2 +-
lib/librte_ethdev/rte_ethdev_version.map | 8 +++++++-
3 files changed, 9 insertions(+), 3 deletions(-)
Comments
On 4/17/2019 11:59 PM, Thomas Monjalon wrote:
> 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>
On 4/18/19 2:51 PM, Ferruh Yigit wrote:
> On 4/17/2019 11:59 PM, Thomas Monjalon wrote:
>> 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>
@@ -765,7 +765,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;
@@ -1560,7 +1560,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
@@ -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;