eal: remove experimental tag for probe/remove
authorThomas Monjalon <thomas@monjalon.net>
Thu, 1 Nov 2018 14:46:32 +0000 (15:46 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Nov 2018 00:14:02 +0000 (01:14 +0100)
commitd75d132c30b502edc146149d8907793bbcb3c912
treec8048154d15d6e29c4f923a2840aad2dfa107a21
parent1ccfeb7df780d7d74605ac2e16cab8aef163481d
eal: remove experimental tag for probe/remove

The functions rte_dev_probe() and rte_dev_remove() are new
in DPDK 18.11 so they got the experimental tag by policy.
However they are too much basic functions for being skipped
by strict applications which do not use experimental functions.

The alternative is to use rte_eal_hotplug_add() and
rte_eal_hotplug_remove(), but their API requires the application
to parse the devargs string in order to provide bus name,
device name and driver arguments.

The new function rte_dev_probe() is really simpler to use and
more flexible by accepting any devargs string.
Let's encourage applications to use it.

The old functions rte_eal_hotplug_* may be deprecated later.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
Tested-by: Kevin Traynor <ktraynor@redhat.com>
lib/librte_eal/common/eal_common_dev.c
lib/librte_eal/common/include/rte_dev.h
lib/librte_eal/rte_eal_version.map