ethdev: promote sibling iterators to stable
authorDavid Marchand <david.marchand@redhat.com>
Mon, 6 Sep 2021 13:02:20 +0000 (15:02 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 15 Sep 2021 09:48:54 +0000 (11:48 +0200)
commitb37ed6def36798342172f298516c5fc6d0d8e070
tree90717e020fabcb7bdfbe6d8a8f4967b73d87b7b7
parent9fecac6c3aa22b82f35df027fe46a10cd6358776
ethdev: promote sibling iterators to stable

This API saw no update since its introduction and will help applications
like OVS ([1] and [2]) that currently look at rte_eth_devices[] to
achieve the same.

1: https://github.com/openvswitch/ovs/blob/master/lib/netdev-dpdk.c#L1285
2: https://github.com/openvswitch/ovs/blob/master/lib/netdev-dpdk.c#L1476

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
lib/ethdev/rte_ethdev.h
lib/ethdev/version.map