Re: [dpdk-dev] Change ether_addr to avoid conflict

2018-10-24 Thread Stephen Hemminger
On Wed, 24 Oct 2018 07:35:28 -0500 Lewis Donzis 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. > > Sometimes, there is need to include /usr/include/net/et

[dpdk-dev] Change ether_addr to avoid conflict

2018-10-24 Thread Lewis Donzis
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. Sometimes, there is need to include /usr/include/net/ethernet.h, but it conflicts with the same structure name in rte_eth

Re: [dpdk-dev] Change ether_addr to avoid conflict

2018-10-23 Thread Thomas Monjalon
22/10/2018 17:06, Wiles, Keith: > > > On Oct 21, 2018, at 8:39 AM, Lewis Donzis 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

Re: [dpdk-dev] Change ether_addr to avoid conflict

2018-10-22 Thread Wiles, Keith
> On Oct 21, 2018, at 8:39 AM, Lewis Donzis 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 in

[dpdk-dev] Change ether_addr to avoid conflict

2018-10-22 Thread Lewis Donzis
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 ca