On 10/9/2018 11:33 PM, Thomas Monjalon wrote: > The hotplug attach/detach features are implemented in EAL layer. > There is a new ethdev iterator to retrieve ports from ethdev layer. > > As announced earlier, the (buggy) ethdev functions are now removed. > > Signed-off-by: Thomas Monjalon <tho...@monjalon.net> > Reviewed-by: Andrew Rybchenko <arybche...@solarflare.com>
<...> > @@ -53,7 +53,6 @@ Programmer's Guide > packet_framework > vhost_lib > metrics_lib > - port_hotplug_framework Any replacement documentation for hotplug? <...> > @@ -130,6 +130,12 @@ API Changes > functions were deprecated since 17.05 and are replaced by > ``rte_mbuf_raw_free()`` and ``rte_pktmbuf_prefree_seg()``. > > +* ethdev: The deprecated functions attach/detach were removed in 18.11. > + ``rte_eth_dev_attach`` can be replaced by ``RTE_ETH_FOREACH_MATCHING_DEV`` > + and ``rte_dev_probe`` or ``rte_eal_hotplug_add``. > + ``rte_eth_dev_detach`` can be replaced by > + ``rte_dev_remove`` or ``rte_eal_hotplug_remove``. What is the difference between ``rte_dev_remove`` or ``rte_eal_hotplug_remove``, which one is good for which usage, is there any documentation explaining this?