[dpdk-dev] [PATCH] driver/octeontx: disable PMD for buggy compilers

Jerin Jacob jerin.jacob at caviumnetworks.com
Wed May 9 11:06:37 CEST 2018


-----Original Message-----
> Date: Tue, 8 May 2018 07:49:01 +0000
> From: Ali Alnubani <alialnu at mellanox.com>
> To: 'Pavan Nikhilesh' <pbhagavatula at caviumnetworks.com>,
>  "jerin.jacob at caviumnetworks.com" <jerin.jacob at caviumnetworks.com>,
>  "santosh.shukla at caviumnetworks.com" <santosh.shukla at caviumnetworks.com>,
>  "ferruh.yigit at intel.com" <ferruh.yigit at intel.com>, Shahaf Shuler
>  <shahafs at mellanox.com>
> CC: "dev at dpdk.org" <dev at dpdk.org>
> Subject: RE: [dpdk-dev] [PATCH] driver/octeontx: disable PMD for buggy
>  compilers
> 
> Tested-by: Ali Alnubani <alialnu at mellanox.com>

Applied to dpdk-next-eventdev/master. Thanks.

> 
> > -----Original Message-----
> > From: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> > Sent: Monday, May 7, 2018 3:31 PM
> > To: jerin.jacob at caviumnetworks.com;
> > santosh.shukla at caviumnetworks.com; ferruh.yigit at intel.com; Shahaf
> > Shuler <shahafs at mellanox.com>; Ali Alnubani <alialnu at mellanox.com>
> > Cc: dev at dpdk.org; Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> > Subject: [dpdk-dev] [PATCH] driver/octeontx: disable PMD for buggy
> > compilers
> > 
> > Disable octeontx for gcc 4.8.5 as compiler is emitting "internal compiler error"
> > for aarch64.
> > 
> > Signed-off-by: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> > ---
> >  mk/toolchain/gcc/rte.toolchain-compat.mk | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> > 
> > diff --git a/mk/toolchain/gcc/rte.toolchain-compat.mk
> > b/mk/toolchain/gcc/rte.toolchain-compat.mk
> > index 9f17131f9..0f2b0ff0a 100644
> > --- a/mk/toolchain/gcc/rte.toolchain-compat.mk
> > +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk
> > @@ -12,6 +12,7 @@
> > 
> >  GCC_MAJOR = $(shell echo __GNUC__ | $(CC) -E -x c - | tail -n 1)
> > GCC_MINOR = $(shell echo __GNUC_MINOR__ | $(CC) -E -x c - | tail -n 1)
> > +GCC_PATCHLEVEL = $(shell echo __GNUC_PATCHLEVEL__ | $(CC) -E -x c - |
> > +tail -n 1)
> >  GCC_VERSION = $(GCC_MAJOR)$(GCC_MINOR)
> > 
> >  # if GCC is older than 4.x
> > @@ -73,4 +74,11 @@ else
> >  		CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=d
> >  	endif
> > 
> > +	# Disable octeontx event PMD for gcc < 4.8.6
> > +	ifeq ($(shell test $(GCC_VERSION)$(GCC_PATCHLEVEL) -lt 486 &&
> > echo 1), 1)
> > +		CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=d
> > +		CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=d
> > +		CONFIG_RTE_LIBRTE_OCTEONTX_PMD=d
> > +	endif
> > +
> >  endif
> > --
> > 2.17.0
> 


More information about the dev mailing list