[dpdk-dev] Change ether_addr to avoid conflict
Wiles, Keith
keith.wiles at intel.com
Mon Oct 22 17:06:00 CEST 2018
> 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.
>
> Thanks,
> lew
Regards,
Keith
More information about the dev
mailing list