net: rename Ethernet header fields
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Thu, 7 Oct 2021 22:07:49 +0000 (01:07 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 8 Oct 2021 12:58:11 +0000 (14:58 +0200)
commit04d43857ea3acbd4db4b28939dc2807932b85e72
tree77265a37f8e6faeefe9b60024b952b53bd43ba6c
parent6be6690127744bb294005bfcf539508b3d5f389e
net: rename Ethernet header fields

Definition of `rte_ether_addr` structure used a workaround allowing DPDK
and Windows SDK headers to be used in the same file, because Windows SDK
defines `s_addr` as a macro. Rename `s_addr` to `src_addr` and `d_addr`
to `dst_addr` to avoid the conflict and remove the workaround.
Deprecation notice:
https://mails.dpdk.org/archives/dev/2021-July/215270.html

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
56 files changed:
app/test-pmd/5tswap.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_bpf.c
app/test/test_link_bonding_mode4.c
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_21_11.rst
drivers/net/avp/avp_ethdev.c
drivers/net/bnx2x/bnx2x.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/enic/enic_flow.c
drivers/net/mlx5/mlx5_txpp.c
examples/bond/main.c
examples/ethtool/ethtool-app/main.c
examples/eventdev_pipeline/pipeline_common.h
examples/flow_filtering/main.c
examples/ioat/ioatfwd.c
examples/ip_fragmentation/main.c
examples/ip_reassembly/main.c
examples/ipsec-secgw/ipsec-secgw.c
examples/ipsec-secgw/ipsec_worker.c
examples/ipv4_multicast/main.c
examples/l2fwd-crypto/main.c
examples/l2fwd-event/l2fwd_common.h
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/l3fwd_em.h
examples/l3fwd/l3fwd_fib.c
examples/l3fwd/l3fwd_lpm.c
examples/l3fwd/l3fwd_lpm.h
examples/link_status_interrupt/main.c
examples/performance-thread/l3fwd-thread/main.c
examples/ptpclient/ptpclient.c
examples/vhost/main.c
examples/vmdq/main.c
examples/vmdq_dcb/main.c
lib/ethdev/rte_flow.h
lib/gro/gro_tcp4.c
lib/gro/gro_udp4.c
lib/gro/gro_vxlan_tcp4.c
lib/gro/gro_vxlan_udp4.c
lib/net/rte_arp.c
lib/net/rte_ether.h
lib/pipeline/rte_table_action.c