[dpdk-dev] Aligning net/ethernet.h and rte_ether.h

2015-12-02 Thread Thomas Monjalon
2015-12-02 11:45, Stephen Hemminger: > I would like to just have rte_ether.h include netinet/ether.h > to get rid of the useless duplication, and fix all the code in DPDK. > But this will break out-of-tree source compatibility so best to > wait for DPDK 2.3. Is there a good place to put this in 2.2

[dpdk-dev] Aligning net/ethernet.h and rte_ether.h

2015-12-02 Thread Stephen Hemminger
The two header files net/ethenet.h and rte_ether.h are source incompatiable right now. They both define a bunch of constants and struct ether_addr; the effective values are the same but the structure element name is different. /usr/include/net/ether.h /* This is a name for the 48 bit ethernet addr