[dpdk-users] Redundant struct ether_addr

Stephen Hemminger stephen at networkplumber.org
Wed Sep 25 22:22:10 CEST 2019


On Wed, 25 Sep 2019 20:06:43 +0000
"Tran (US), Katherine K" <katherine.k.tran at boeing.com> wrote:

> Hello,
> 
> I am running into an issue of a redundant struct name. Apparently, 'struct ether_addr' is redefined in DPDK (rte_ether.h). The previous definition of ether_addr is from one of the included core network API files (netinet/if_ether.h).
> 
> How should I proceed with this compile error? Shouldn't DPDK have its own userspace?
> 
> Regards,
> Katherine

Already fixed in 19.08.
With earlier versions of DPDK, it is possible to cross headers since the binary layout
is the same but it requires lots of unnecessary pain.


More information about the users mailing list