From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Horman Subject: Re: [RFC] resolve conflict between net/ethernet.h and rte_ethdev.h Date: Sat, 27 Dec 2014 22:48:52 -0500 Message-ID: <20141228034852.GA18713@localhost.localdomain> References: <20141227151300.7b62f5bf@urahara> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev-VfR2kkLFssw@public.gmane.org To: Stephen Hemminger Return-path: Content-Disposition: inline In-Reply-To: <20141227151300.7b62f5bf@urahara> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Sat, Dec 27, 2014 at 03:13:00PM -0800, Stephen Hemminger wrote: > This is a patch to address the conflict between > and the definitions in . It has two side effects > worth discussion: > 1. It forces inclusion of net/ethernet.h > 2. It has definition to deal with the differing structure elements > in the two versions of struct ether_addr. > > By doing this ether_ntoa and related functions can be used without > messing with prototypes. > > Alternative is more complex #ifdef magic like linux/libc-compat.h > > This seems like a reasonable fix for the problem, and nasty compat-work Acked-by: Neil Horman