net: add rte prefix to ether structures
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 26 Oct 2018 07:03:49 +0000 (09:03 +0200)
committerOlivier Matz <olivier.matz@6wind.com>
Fri, 26 Oct 2018 07:03:49 +0000 (09:03 +0200)
commit039cfce658ed9e8752f44c11310130b290bd04eb
tree7e0996879ce2c6a985698c9a83ad1d223be20063
parente7e82b12225e93a328d3e998972794a2e81d9fc8
net: add rte prefix to ether structures

Add 'rte_' prefix to structures:
- rename struct ether_addr as struct rte_ether_addr.
- rename struct ether_hdr as struct rte_ether_hdr.
- rename struct vlan_hdr as struct rte_vlan_hdr.
- rename struct vxlan_hdr as struct rte_vxlan_hdr.
- rename struct vxlan_gpe_hdr as struct rte_vxlan_gpe_hdr.

Additionally, adapt the command line library to use the rte
structures and defines.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
246 files changed:
app/pdump/main.c
app/test-pmd/cmdline.c
app/test-pmd/cmdline_flow.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.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
app/test-pmd/txonly.c
app/test-pmd/util.c
doc/guides/prog_guide/bbdev.rst
doc/guides/sample_app_ug/flow_classify.rst
doc/guides/sample_app_ug/flow_filtering.rst
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/l3_forward.rst
doc/guides/sample_app_ug/link_status_intr.rst
doc/guides/sample_app_ug/ptpclient.rst
doc/guides/sample_app_ug/rxtx_callbacks.rst
doc/guides/sample_app_ug/server_node_efd.rst
doc/guides/sample_app_ug/skeleton.rst
doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst
drivers/bus/dpaa/include/fman.h
drivers/bus/dpaa/include/netcfg.h
drivers/net/af_packet/rte_eth_af_packet.c
drivers/net/ark/ark_ethdev.c
drivers/net/ark/ark_ext.h
drivers/net/ark/ark_global.h
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/avf/avf.h
drivers/net/avf/avf_ethdev.c
drivers/net/avf/avf_vchnl.c
drivers/net/avp/avp_ethdev.c
drivers/net/axgbe/axgbe_ethdev.h
drivers/net/bnx2x/bnx2x.c
drivers/net/bnx2x/bnx2x_ethdev.c
drivers/net/bnx2x/bnx2x_ethdev.h
drivers/net/bnx2x/bnx2x_vfpf.c
drivers/net/bnx2x/bnx2x_vfpf.h
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_hwrm.c
drivers/net/bnxt/bnxt_hwrm.h
drivers/net/bnxt/rte_pmd_bnxt.c
drivers/net/bnxt/rte_pmd_bnxt.h
drivers/net/bonding/rte_eth_bond.h
drivers/net/bonding/rte_eth_bond_8023ad.c
drivers/net/bonding/rte_eth_bond_8023ad.h
drivers/net/bonding/rte_eth_bond_alb.c
drivers/net/bonding/rte_eth_bond_alb.h
drivers/net/bonding/rte_eth_bond_api.c
drivers/net/bonding/rte_eth_bond_args.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/bonding/rte_eth_bond_private.h
drivers/net/cxgbe/base/adapter.h
drivers/net/cxgbe/cxgbe_ethdev.c
drivers/net/cxgbe/cxgbe_pfvf.h
drivers/net/dpaa/dpaa_ethdev.c
drivers/net/dpaa/dpaa_rxtx.c
drivers/net/dpaa2/dpaa2_ethdev.c
drivers/net/e1000/em_ethdev.c
drivers/net/e1000/igb_ethdev.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_flow.c
drivers/net/enic/enic_main.c
drivers/net/failsafe/failsafe.c
drivers/net/failsafe/failsafe_args.c
drivers/net/failsafe/failsafe_ether.c
drivers/net/failsafe/failsafe_ops.c
drivers/net/failsafe/failsafe_private.h
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/i40e/i40e_fdir.c
drivers/net/i40e/i40e_flow.c
drivers/net/i40e/i40e_pf.c
drivers/net/i40e/i40e_vf_representor.c
drivers/net/i40e/rte_pmd_i40e.c
drivers/net/i40e/rte_pmd_i40e.h
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_pf.c
drivers/net/ixgbe/ixgbe_vf_representor.c
drivers/net/ixgbe/rte_pmd_ixgbe.c
drivers/net/ixgbe/rte_pmd_ixgbe.h
drivers/net/kni/rte_eth_kni.c
drivers/net/liquidio/lio_ethdev.c
drivers/net/mlx4/mlx4.c
drivers/net/mlx4/mlx4.h
drivers/net/mlx4/mlx4_ethdev.c
drivers/net/mlx4/mlx4_flow.c
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow_tcf.c
drivers/net/mlx5/mlx5_mac.c
drivers/net/mlx5/mlx5_nl.c
drivers/net/mlx5/mlx5_rxtx.h
drivers/net/mlx5/mlx5_trigger.c
drivers/net/mvneta/mvneta_ethdev.c
drivers/net/mvpp2/mrvl_ethdev.c
drivers/net/mvpp2/mrvl_flow.c
drivers/net/netvsc/hn_ethdev.c
drivers/net/netvsc/hn_rxtx.c
drivers/net/netvsc/hn_var.h
drivers/net/netvsc/hn_vf.c
drivers/net/nfp/nfp_net.c
drivers/net/null/rte_eth_null.c
drivers/net/octeontx/octeontx_ethdev.c
drivers/net/pcap/rte_eth_pcap.c
drivers/net/qede/qede_ethdev.c
drivers/net/qede/qede_ethdev.h
drivers/net/qede/qede_filter.c
drivers/net/qede/qede_if.h
drivers/net/qede/qede_rxtx.c
drivers/net/ring/rte_eth_ring.c
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_ethdev.c
drivers/net/sfc/sfc_port.c
drivers/net/softnic/parser.c
drivers/net/softnic/parser.h
drivers/net/softnic/rte_eth_softnic.c
drivers/net/szedata2/rte_eth_szedata2.c
drivers/net/tap/rte_eth_tap.c
drivers/net/tap/rte_eth_tap.h
drivers/net/tap/tap_bpf_program.c
drivers/net/thunderx/base/nicvf_mbox.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
drivers/net/vmxnet3/vmxnet3_rxtx.c
examples/bbdev_app/main.c
examples/bond/main.c
examples/distributor/main.c
examples/ethtool/ethtool-app/ethapp.c
examples/ethtool/ethtool-app/main.c
examples/ethtool/lib/rte_ethtool.c
examples/ethtool/lib/rte_ethtool.h
examples/eventdev_pipeline/main.c
examples/eventdev_pipeline/pipeline_common.h
examples/flow_classify/flow_classify.c
examples/flow_filtering/main.c
examples/ip_fragmentation/main.c
examples/ip_pipeline/cli.c
examples/ip_pipeline/parser.c
examples/ip_pipeline/parser.h
examples/ip_reassembly/main.c
examples/ipsec-secgw/ipsec-secgw.c
examples/ipv4_multicast/main.c
examples/kni/main.c
examples/l2fwd-cat/l2fwd-cat.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.h
examples/l3fwd/l3fwd_altivec.h
examples/l3fwd/l3fwd_em.c
examples/l3fwd/l3fwd_em.h
examples/l3fwd/l3fwd_em_hlm.h
examples/l3fwd/l3fwd_em_hlm_neon.h
examples/l3fwd/l3fwd_em_hlm_sse.h
examples/l3fwd/l3fwd_em_sequential.h
examples/l3fwd/l3fwd_lpm.c
examples/l3fwd/l3fwd_lpm.h
examples/l3fwd/l3fwd_lpm_altivec.h
examples/l3fwd/l3fwd_lpm_neon.h
examples/l3fwd/l3fwd_lpm_sse.h
examples/l3fwd/l3fwd_neon.h
examples/l3fwd/l3fwd_sse.h
examples/l3fwd/main.c
examples/link_status_interrupt/main.c
examples/load_balancer/runtime.c
examples/multi_process/client_server_mp/mp_server/main.c
examples/packet_ordering/main.c
examples/performance-thread/l3fwd-thread/main.c
examples/ptpclient/ptpclient.c
examples/qos_meter/main.c
examples/quota_watermark/qw/main.c
examples/rxtx_callbacks/main.c
examples/server_node_efd/node/node.c
examples/server_node_efd/server/main.c
examples/skeleton/basicfwd.c
examples/tep_termination/main.c
examples/tep_termination/main.h
examples/tep_termination/vxlan.c
examples/tep_termination/vxlan.h
examples/tep_termination/vxlan_setup.c
examples/tep_termination/vxlan_setup.h
examples/vhost/main.c
examples/vhost/main.h
examples/vm_power_manager/channel_monitor.c
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
examples/vm_power_manager/main.c
examples/vmdq/main.c
examples/vmdq_dcb/main.c
lib/librte_cmdline/cmdline_parse_etheraddr.c
lib/librte_ethdev/rte_eth_ctrl.h
lib/librte_ethdev/rte_ethdev.c
lib/librte_ethdev/rte_ethdev.h
lib/librte_ethdev/rte_ethdev_core.h
lib/librte_ethdev/rte_flow.h
lib/librte_eventdev/rte_event_eth_rx_adapter.c
lib/librte_gro/gro_tcp4.c
lib/librte_gro/gro_tcp4.h
lib/librte_gro/gro_vxlan_tcp4.c
lib/librte_gro/gro_vxlan_tcp4.h
lib/librte_gso/rte_gso.h
lib/librte_kni/rte_kni.c
lib/librte_net/rte_arp.c
lib/librte_net/rte_arp.h
lib/librte_net/rte_ether.h
lib/librte_net/rte_net.c
lib/librte_pipeline/rte_table_action.c
lib/librte_pipeline/rte_table_action.h
lib/librte_vhost/vhost.h
lib/librte_vhost/virtio_net.c
test/test-pipeline/pipeline_acl.c
test/test-pipeline/pipeline_hash.c
test/test/packet_burst_generator.c
test/test/packet_burst_generator.h
test/test/test_cmdline_etheraddr.c
test/test/test_event_eth_rx_adapter.c
test/test/test_event_eth_tx_adapter.c
test/test/test_flow_classify.c
test/test/test_link_bonding.c
test/test/test_link_bonding_mode4.c
test/test/test_link_bonding_rssconf.c
test/test/test_pmd_perf.c
test/test/test_sched.c
test/test/virtual_pmd.c
test/test/virtual_pmd.h