ethdev: remove underscore prefix from internal API
authorFerruh Yigit <ferruh.yigit@intel.com>
Wed, 9 Sep 2020 13:01:48 +0000 (14:01 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:08 +0000 (18:55 +0200)
commit5723fbed4f969bb69b32927a138b272fb002fba1
treef7a08c16d5f9bd3d97186aa64f8d8f80e1e1feb2
parent8682e492ed301ae8929f0b453a6e419fc9c37960
ethdev: remove underscore prefix from internal API

'_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@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: David Marchand <david.marchand@redhat.com>
Acked-by: Sachin Saxena <sachin.saxena@nxp.com>
40 files changed:
app/test/virtual_pmd.c
doc/guides/prog_guide/poll_mode_drv.rst
doc/guides/rel_notes/release_20_11.rst
drivers/net/atlantic/atl_ethdev.c
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/rte_pmd_bnxt.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/dpaa/dpaa_ethdev.c
drivers/net/dpaa2/dpaa2_ethdev.c
drivers/net/e1000/em_ethdev.c
drivers/net/e1000/igb_ethdev.c
drivers/net/ena/ena_ethdev.c
drivers/net/enic/enic_main.c
drivers/net/failsafe/failsafe_ether.c
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/hinic/base/hinic_pmd_hwdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/i40e/i40e_pf.c
drivers/net/iavf/iavf_vchnl.c
drivers/net/ice/ice_ethdev.c
drivers/net/igc/igc_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_pf.c
drivers/net/mlx4/mlx4_intr.c
drivers/net/mlx5/linux/mlx5_ethdev_os.c
drivers/net/mlx5/mlx5_flow.c
drivers/net/netvsc/hn_rndis.c
drivers/net/nfp/nfp_net.c
drivers/net/octeontx/octeontx_ethdev.c
drivers/net/octeontx2/otx2_link.c
drivers/net/qede/qede_main.c
drivers/net/sfc/sfc_intr.c
drivers/net/thunderx/nicvf_ethdev.c
drivers/net/vhost/rte_eth_vhost.c
drivers/net/virtio/virtio_ethdev.c
drivers/net/vmxnet3/vmxnet3_ethdev.c
lib/librte_ethdev/rte_ethdev.c
lib/librte_ethdev/rte_ethdev_driver.h
lib/librte_ethdev/rte_ethdev_version.map