[dpdk-dev] Change ether_addr to avoid conflict

Thomas Monjalon thomas at monjalon.net
Tue Oct 23 10:37:34 CEST 2018


22/10/2018 17:06, Wiles, Keith:
> 
> > On Oct 21, 2018, at 8:39 AM, Lewis Donzis <lew at perftech.com> wrote:
> > 
> > Please consider changing “struct ether_addr” in rte_ether.h to “struct rte_ether_addr”, in order to avoid conflicts with the same structure name /usr/include/net/ethernet.h.
> > 
> > This is kind of a pain for us since we would like to include ethernet.h in order to get some other definitions, but we can’t because it conflicts with the same structure name in rte_ether.h.
> 
> I agree, but it will require a deprecation notice as a lot of code uses it.

Yes, it is a very long standing issue.

During the last technical board meeting, we discussed a plan to fix it:
	http://mails.dpdk.org/archives/dev/2018-October/116695.html





More information about the dev mailing list