[dpdk-dev] [PATCH 7/7] ethdev: remove underscore prefix from internal API

Andrew Rybchenko arybchenko at solarflare.com
Sat Aug 29 14:16:57 CEST 2020


On 8/24/20 12:40 PM, Ferruh Yigit wrote:
> '_rte_eth_dev_callback_process()' & '_rte_eth_dev_reset()' internal APIs
> has unconventional underscore ('_') prefix.
> Although this is not documented most probably this is to mark them as
> internal. Since we have '__rte_internal' flag to mark this, removing '_'
> from API names.
> 
> For '_rte_eth_dev_reset()', there is already a public API named
> 'rte_eth_dev_reset()', so renaming '_rte_eth_dev_reset()' to
> 'rte_eth_dev_internal_reset'.
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>

Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>


More information about the dev mailing list