ethdev: remove experimental flag of ports enumeration
authorThomas Monjalon <thomas@monjalon.net>
Tue, 24 Apr 2018 02:15:11 +0000 (04:15 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 17:00:24 +0000 (18:00 +0100)
commitfa47405cc119846574a3b290032f5ac2ab66757f
treef8c9255733ff906433df0de4c687083c411d26af
parent3d140329ca6394a226124be1bdc64495871eb898
ethdev: remove experimental flag of ports enumeration

The basic operations for ports enumeration should not be
considered as experimental in DPDK 18.05.

The iterator RTE_ETH_FOREACH_DEV was introduced in DPDK 17.05.
It uses the function the rte_eth_find_next_owned_by() to get
only ownerless ports. Its API can be considered stable.
So the flag experimental is removed from rte_eth_find_next_owned_by().

The flag experimental is removed from rte_eth_dev_count_avail()
which is the new name of the old function rte_eth_dev_count().

The flag experimental is set to rte_eth_dev_count_total()
in the .c file for consistency with the declaration in the .h file.

A lot of internal applications are fixed to not allow experimental API.

Fixes: 8728ccf37615 ("fix ethdev ports enumeration")
Fixes: d9a42a69febf ("ethdev: deprecate port count function")
Fixes: e70e26861eaf ("net/mvpp2: fix build")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Tested-by: David Marchand <david.marchand@6wind.com>
67 files changed:
drivers/net/bonding/Makefile
drivers/net/bonding/meson.build
drivers/net/mvpp2/Makefile
examples/bond/Makefile
examples/distributor/Makefile
examples/distributor/meson.build
examples/ethtool/ethtool-app/Makefile
examples/exception_path/Makefile
examples/exception_path/meson.build
examples/flow_filtering/Makefile
examples/flow_filtering/meson.build
examples/ip_fragmentation/Makefile
examples/ip_fragmentation/meson.build
examples/ip_reassembly/Makefile
examples/ip_reassembly/meson.build
examples/ipv4_multicast/Makefile
examples/ipv4_multicast/meson.build
examples/kni/Makefile
examples/kni/meson.build
examples/l2fwd-cat/Makefile
examples/l2fwd-cat/meson.build
examples/l2fwd-crypto/Makefile
examples/l2fwd-crypto/meson.build
examples/l2fwd-jobstats/Makefile
examples/l2fwd-jobstats/meson.build
examples/l2fwd-keepalive/Makefile
examples/l2fwd-keepalive/meson.build
examples/l2fwd/Makefile
examples/l2fwd/meson.build
examples/l3fwd-acl/Makefile
examples/l3fwd-acl/meson.build
examples/l3fwd-power/Makefile
examples/l3fwd-power/meson.build
examples/l3fwd-vf/Makefile
examples/l3fwd-vf/meson.build
examples/l3fwd/Makefile
examples/l3fwd/meson.build
examples/link_status_interrupt/Makefile
examples/link_status_interrupt/meson.build
examples/multi_process/client_server_mp/mp_client/Makefile
examples/multi_process/l2fwd_fork/Makefile
examples/multi_process/symmetric_mp/Makefile
examples/netmap_compat/bridge/Makefile
examples/packet_ordering/Makefile
examples/packet_ordering/meson.build
examples/performance-thread/l3fwd-thread/Makefile
examples/ptpclient/Makefile
examples/ptpclient/meson.build
examples/qos_sched/Makefile
examples/qos_sched/meson.build
examples/quota_watermark/qw/Makefile
examples/rxtx_callbacks/Makefile
examples/rxtx_callbacks/meson.build
examples/server_node_efd/node/Makefile
examples/server_node_efd/server/Makefile
examples/skeleton/Makefile
examples/skeleton/meson.build
examples/vm_power_manager/Makefile
examples/vmdq/Makefile
examples/vmdq/meson.build
examples/vmdq_dcb/Makefile
examples/vmdq_dcb/meson.build
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h
lib/librte_ether/rte_ethdev_version.map
lib/librte_latencystats/Makefile
lib/librte_latencystats/meson.build