On 4/26/2018 11:40 AM, Declan Doherty wrote: > Add new bus generic ethdev create/destroy APIs which are bus independent > and provide hooks for bus specific initialisation. > > Signed-off-by: Declan Doherty <declan.dohe...@intel.com>
<...> > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice. > + * > + * PMD helper function for cleaing up the resources of a ethdev port on it's > + * destruction. > + * > + * @param ethdev > + * ethdev handle of port. > + * @param ethdev > + * device specific port un-initialise callback function > + * > + * @return > + * Negative errno value on error, 0 on success. > + */ > +int __rte_experimental > +rte_eth_dev_destroy(struct rte_eth_dev *ethdev, > + ethdev_uninit_t ethdev_uninit); Will fix doxygen warning while applying, ethdev vs ethdev_uninit