net: add rte prefix to ether functions
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 21 May 2019 16:13:04 +0000 (18:13 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 24 May 2019 11:34:45 +0000 (13:34 +0200)
commit538da7a1cad25fbdffe298c8ca76fc4dbd262d1b
treec658a60595b1dec44557da57a2b6259a3d286854
parent6d13ea8e8e49ab957deae2bba5ecf4a4bfe747d1
net: add rte prefix to ether functions

Add 'rte_' prefix to functions:
- rename is_same_ether_addr() as rte_is_same_ether_addr().
- rename is_zero_ether_addr() as rte_is_zero_ether_addr().
- rename is_unicast_ether_addr() as rte_is_unicast_ether_addr().
- rename is_multicast_ether_addr() as rte_is_multicast_ether_addr().
- rename is_broadcast_ether_addr() as rte_is_broadcast_ether_addr().
- rename is_universal_ether_addr() as rte_is_universal_ether_addr().
- rename is_local_admin_ether_addr() as rte_is_local_admin_ether_addr().
- rename is_valid_assigned_ether_addr() as rte_is_valid_assigned_ether_addr().
- rename eth_random_addr() as rte_eth_random_addr().
- rename ether_addr_copy() as rte_ether_addr_copy().
- rename ether_format_addr() as rte_ether_format_addr().

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
122 files changed:
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/csumonly.c
app/test-pmd/flowgen.c
app/test-pmd/icmpecho.c
app/test-pmd/ieee1588fwd.c
app/test-pmd/macfwd.c
app/test-pmd/macswap.h
app/test-pmd/txonly.c
app/test-pmd/util.c
app/test/packet_burst_generator.c
app/test/test_link_bonding.c
app/test/test_link_bonding_mode4.c
app/test/test_pmd_perf.c
doc/guides/sample_app_ug/ipv4_multicast.rst
doc/guides/sample_app_ug/l2_forward_job_stats.rst
doc/guides/sample_app_ug/l2_forward_real_virtual.rst
doc/guides/sample_app_ug/link_status_intr.rst
drivers/net/atlantic/atl_ethdev.c
drivers/net/atlantic/hw_atl/hw_atl_utils.c
drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c
drivers/net/avp/avp_ethdev.c
drivers/net/axgbe/axgbe_ethdev.c
drivers/net/bnx2x/bnx2x.c
drivers/net/bnx2x/bnx2x_vfpf.c
drivers/net/bnxt/bnxt_flow.c
drivers/net/bnxt/bnxt_hwrm.c
drivers/net/bonding/rte_eth_bond_8023ad.c
drivers/net/bonding/rte_eth_bond_alb.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/cxgbe/base/adapter.h
drivers/net/cxgbe/cxgbe_flow.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/e1000/igb_flow.c
drivers/net/e1000/igb_pf.c
drivers/net/ena/ena_ethdev.c
drivers/net/enetc/enetc_ethdev.c
drivers/net/enic/enic_ethdev.c
drivers/net/enic/enic_main.c
drivers/net/failsafe/failsafe.c
drivers/net/failsafe/failsafe_ether.c
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/i40e/i40e_flow.c
drivers/net/i40e/i40e_pf.c
drivers/net/i40e/rte_pmd_i40e.c
drivers/net/iavf/iavf_ethdev.c
drivers/net/iavf/iavf_vchnl.c
drivers/net/ice/ice_ethdev.c
drivers/net/ipn3ke/ipn3ke_representor.c
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_flow.c
drivers/net/ixgbe/ixgbe_pf.c
drivers/net/ixgbe/rte_pmd_ixgbe.c
drivers/net/kni/rte_eth_kni.c
drivers/net/liquidio/lio_ethdev.c
drivers/net/mlx4/mlx4_ethdev.c
drivers/net/mlx4/mlx4_flow.c
drivers/net/mlx5/mlx5_flow_tcf.c
drivers/net/mlx5/mlx5_mac.c
drivers/net/mlx5/mlx5_nl.c
drivers/net/mvneta/mvneta_ethdev.c
drivers/net/mvpp2/mrvl_ethdev.c
drivers/net/netvsc/hn_rxtx.c
drivers/net/netvsc/hn_vf.c
drivers/net/nfb/nfb_ethdev.c
drivers/net/nfp/nfp_net.c
drivers/net/null/rte_eth_null.c
drivers/net/qede/qede_ethdev.c
drivers/net/sfc/sfc_ethdev.c
drivers/net/sfc/sfc_flow.c
drivers/net/sfc/sfc_port.c
drivers/net/softnic/rte_eth_softnic_flow.c
drivers/net/szedata2/rte_eth_szedata2.c
drivers/net/tap/rte_eth_tap.c
drivers/net/tap/tap_flow.c
drivers/net/thunderx/nicvf_ethdev.c
drivers/net/vdev_netvsc/vdev_netvsc.c
drivers/net/vhost/rte_eth_vhost.c
drivers/net/virtio/virtio_ethdev.c
drivers/net/virtio/virtio_rxtx.c
drivers/net/vmxnet3/vmxnet3_ethdev.c
examples/bond/main.c
examples/ethtool/ethtool-app/main.c
examples/ethtool/lib/rte_ethtool.c
examples/eventdev_pipeline/pipeline_common.h
examples/flow_filtering/main.c
examples/ip_fragmentation/main.c
examples/ip_reassembly/main.c
examples/ipsec-secgw/ipsec-secgw.c
examples/ipv4_multicast/main.c
examples/kni/main.c
examples/l2fwd-crypto/main.c
examples/l2fwd-jobstats/main.c
examples/l2fwd-keepalive/main.c
examples/l2fwd/main.c
examples/l3fwd-acl/main.c
examples/l3fwd-power/main.c
examples/l3fwd-vf/main.c
examples/l3fwd/l3fwd_em.h
examples/l3fwd/l3fwd_lpm.h
examples/l3fwd/main.c
examples/link_status_interrupt/main.c
examples/performance-thread/l3fwd-thread/main.c
examples/ptpclient/ptpclient.c
examples/quota_watermark/qw/main.c
examples/tep_termination/vxlan_setup.c
examples/vhost/main.c
examples/vmdq/main.c
examples/vmdq_dcb/main.c
lib/librte_ethdev/rte_class_eth.c
lib/librte_ethdev/rte_ethdev.c
lib/librte_gro/gro_tcp4.c
lib/librte_gro/gro_tcp4.h
lib/librte_gro/gro_vxlan_tcp4.c
lib/librte_net/rte_arp.c
lib/librte_net/rte_ether.h
lib/librte_pipeline/rte_table_action.c