From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sujith Sankar (ssujith)" Subject: Re: [PATCH] enicpmd: compilation error during inclusion of vfio.h Date: Fri, 28 Nov 2014 02:31:41 +0000 Message-ID: References: <1417108480-28341-1-git-send-email-ssujith@cisco.com> <2232586.GRrg2Bq1yj@xps13> <3873403.PSCWCNKvtK@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Thomas Monjalon Return-path: In-Reply-To: <3873403.PSCWCNKvtK@xps13> Content-Language: en-US Content-ID: <42E7832C531103438714ACE4197E63CB-WwaMAgPkaIIluPl5bxqUMw@public.gmane.org> 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 28/11/14 1:54 am, "Thomas Monjalon" wrote: >2014-11-27 19:01, Thomas Monjalon: >> 2014-11-27 22:44, Sujith Sankar: >> > Inclusion of vfio.h was giving compilation errors if kernel version >>is less >> > than 3.6.0 and if RTE_EAL_VFIO was on in config. >> >=20 >> > Replaced inclusion of vfio.h with eal_vfio.h and replaced >>RTE_EAL_VFIO with >> > VFIO_PRESENT in enicpmd code. >>=20 >> You should add >> Reported-by: Pawel Wodkowski I shall take care of this from now on. >>=20 >> > Signed-off-by: Sujith Sankar >> [...] >> > CFLAGS +=3D -I$(RTE_SDK)/lib/librte_hash/ >>-I$(RTE_SDK)/lib/librte_pmd_enic/vnic/ >> > CFLAGS +=3D -I$(RTE_SDK)/lib/librte_pmd_enic/ >> > +CFLAGS +=3D -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal/ >> > CFLAGS +=3D -O3 -Wno-deprecated >>=20 >> I think -I$(RTE_SDK)/lib/librte_hash/ and >>-I$(RTE_SDK)/lib/librte_eal/linuxapp/eal/ >> are not needed. >>=20 >> I'll fix it if you confirm. You=B9re right. > >Applied with above comments. Thank you Thomas ! > >--=20 >Thomas