[dpdk-dev] [EXT] Re: compilation time of cnxk event driver

Nipun Gupta nipun.gupta at nxp.com
Thu Nov 11 15:28:23 CET 2021


Thanks for the info !!
We can manually disable the drivers if compiling with this version

Regards,
Nipun

> -----Original Message-----
> From: Pavan Nikhilesh Bhagavatula <pbhagavatula at marvell.com>
> Sent: Thursday, November 11, 2021 7:51 PM
> To: Nipun Gupta <nipun.gupta at nxp.com>; Ferruh Yigit <ferruh.yigit at intel.com>;
> Thomas Monjalon <thomas at monjalon.net>; Shijith Thotton
> <sthotton at marvell.com>
> Cc: Jerin Jacob Kollanukkaran <jerinj at marvell.com>;
> david.marchand at redhat.com; dev at dpdk.org; Rohit Raj <rohit.raj at nxp.com>;
> Hemant Agrawal <hemant.agrawal at nxp.com>
> Subject: RE: [dpdk-dev] [EXT] Re: compilation time of cnxk event driver
> 
> >
> >Hi Pavan,
> >
> >Compilation of cnxk (both net and event) is also broken on top of the
> >tree with aarch64-linux-gnu-gcc(gcc version 7.5.0 (Linaro GCC 7.5->
> >2019.12)).
> 
> Buggy compiler.
> See,
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.dpd
> k.org%2Fshow_bug.cgi%3Fid%3D697&data=04%7C01%7Cnipun.gupta%40
> nxp.com%7C36e8cc86950f4eedd66708d9a51e8858%7C686ea1d3bc2b4c6fa92c
> d99c5c301635%7C0%7C0%7C637722372842929752%7CUnknown%7CTWFpbGZ
> sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0
> %3D%7C1000&sdata=wnW8s%2FnwHEKVznbKgwKbv6XAT3AGYLCUBLyghC
> 11yRE%3D&reserved=0
> 
> >
> >Below are the error logs which are observed:
> >
> >FAILED:
> >drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.
> >o
> >aarch64-linux-gnu-gcc -Idrivers/libtmp_rte_event_cnxk.a.p -Idrivers -
> >I../drivers -Idrivers/event/cnxk -I../drivers/event/cnxk -Ilib/eventdev -
> >I../lib/eventdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -
> >I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -
> >Ilib/eal/arm/include -I../lib/eal/arm/include -Ilib/eal/common -
> >I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -
> >Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ring -
> >I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -
> >I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -
> >Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -
> >Ilib/cryptodev -I../lib/cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -
> >I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/common/cnxk -
> >I../drivers/common/cnxk -Ilib/security -I../lib/security -
> >Idrivers/net/cnxk -I../drivers/net/cnxk -Idrivers/bus/vdev -
> >I../drivers/bus/vdev -Idrivers/mempool/cnxk -
> >I../drivers/mempool/cnxk -Idrivers/crypto/cnxk -
> >I../drivers/crypto/cnxk -fdiagnostics-color=always -pipe -
> >D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -
> >Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -
> >Wformat-security -Wmissing-declarations -Wmissing-prototypes -
> >Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-
> >compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-
> >field-initializers -D_GNU_SOURCE -fPIC -march=armv8-a+crc -
> >DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-
> >truncation -flax-vector-conversions -Wno-strict-aliasing -
> >DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.cnxk -MD -MQ
> >drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.
> >o -MF
> >drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.
> >o.d -o
> >drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.
> >o -c ../drivers/event/cnxk/cn10k_worker_deq.c
> >{standard input}: Assembler messages:
> >{standard input}:292: Error: reg pair must start from even reg at
> >operand 1 -- `caspl x25,x26,x25,x26,[x2]'
> >{standard input}:1221: Error: reg pair must start from even reg at
> >operand 1 -- `caspl x25,x26,x25,x26,[x2]'
> >{standard input}:1879: Error: reg pair must start from even reg at
> >operand 1 -- `caspl x9,x10,x9,x10,[x2]'
> >{standard input}:2897: Error: reg pair must start from even reg at
> >operand 1 -- `caspl x9,x10,x9,x10,[x2]'
> >{standard input}:4249: Error: reg pair must start from even reg at
> >operand 1 -- `caspl x25,x26,x25,x26,[x2]'
> >{standard input}:5262: Error: reg pair must start from even reg at
> >operand 1 -- `caspl x25,x26,x25,x26,[x2]'
> >
> >Regards,
> >Nipun
> >
> >> -----Original Message-----
> >> From: dev <dev-bounces at dpdk.org> On Behalf Of Pavan Nikhilesh
> >Bhagavatula
> >> Sent: Monday, November 8, 2021 5:02 PM
> >> To: Ferruh Yigit <ferruh.yigit at intel.com>; Thomas Monjalon
> >> <thomas at monjalon.net>; Shijith Thotton <sthotton at marvell.com>
> >> Cc: Jerin Jacob Kollanukkaran <jerinj at marvell.com>;
> >> david.marchand at redhat.com; dev at dpdk.org
> >> Subject: Re: [dpdk-dev] [EXT] Re: compilation time of cnxk event
> >driver
> >>
> >> Hi Thomas, Ferruh,
> >>
> >> We need to further split Rx/Tx functions in both net/cnxk and
> >event/cnxk to
> >> enable more parallelism.
> >> This is planned for the next release.
> >>
> >> Thanks,
> >> Pavan.
> >>
> >> >-----Original Message-----
> >> >From: Ferruh Yigit <ferruh.yigit at intel.com>
> >> >Sent: Monday, November 8, 2021 2:26 PM
> >> >To: Thomas Monjalon <thomas at monjalon.net>; Pavan Nikhilesh
> >> >Bhagavatula <pbhagavatula at marvell.com>; Shijith Thotton
> >> ><sthotton at marvell.com>
> >> >Cc: Jerin Jacob Kollanukkaran <jerinj at marvell.com>;
> >> >david.marchand at redhat.com; dev at dpdk.org
> >> >Subject: [EXT] Re: [dpdk-dev] compilation time of cnxk event driver
> >> >
> >> >External Email
> >> >
> >> >----------------------------------------------------------------------
> >> >On 11/7/2021 9:35 PM, Thomas Monjalon wrote:
> >> >> Hi,
> >> >>
> >> >> It seems compilation time of drivers/event/cnxk is getting very
> >long.
> >> >> Please could you look at it?
> >> >>
> >> >
> >> >ack, I also recognized it. Various builds all stuck on same a few files.


More information about the dev mailing list