[dpdk-dev] [PATCH v2 1/2] net: rename Ethernet header fields
Thomas Monjalon
thomas at monjalon.net
Wed Oct 6 18:30:43 CEST 2021
01/10/2021 18:33, Dmitry Kozlyuk:
> 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.
There is a compilation issue for Power:
app/test-pmd/macswap.h:32:33: error:
‘struct rte_ether_hdr’ has no member named ‘d_addr’
I think there are more misses:
% git grep -lw d_addr examples
examples/bond/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/performance-thread/l3fwd-thread/main.c
More information about the dev
mailing list