Skip to contentSkip to conversation

compilation time of cnxk event driver

dpdk-dev Thomas Monjalon 5 participants 7 messages Nov 7, 2021 – Nov 26, 2021

lore
Share & tools
lore
#0 lore raw

Hi,

It seems compilation time of drivers/event/cnxk is getting very long. Please could you look at it?

Thanks

#1 lore raw
Quoted 5 lines · Thomas Monjalon

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.

#2 lore raw

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.

Quoted 21 lines

-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Monday, November 8, 2021 2:26 PM
To: Thomas Monjalon <[email protected]>; Pavan Nikhilesh Bhagavatula <[email protected]>; Shijith Thotton <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; [email protected]; [email protected]
Subject: [EXT] Re: [dpdk-dev] compilation time of cnxk event driver

External Email

----------------------------------------------------------------------

Quoted 5 lines · Thomas Monjalon

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.

#3 lore raw

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)).

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

Quoted 39 lines

-----Original Message-----
From: dev <[email protected]> On Behalf Of Pavan Nikhilesh Bhagavatula
Sent: Monday, November 8, 2021 5:02 PM
To: Ferruh Yigit <[email protected]>; Thomas Monjalon <[email protected]>; Shijith Thotton <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; [email protected]; [email protected]
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.

Quoted 21 lines

-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Monday, November 8, 2021 2:26 PM
To: Thomas Monjalon <[email protected]>; Pavan Nikhilesh Bhagavatula <[email protected]>; Shijith Thotton <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; [email protected]; [email protected]
Subject: [EXT] Re: [dpdk-dev] compilation time of cnxk event driver

External Email

----------------------------------------------------------------------

Quoted 5 lines · Thomas Monjalon

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.

#4 lore raw
Quoted 6 lines

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://bugs.dpdk.org/show_bug.cgi?id=697

Quoted 98 lines

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

Quoted 2 lines

-----Original Message-----
From: dev <[email protected]> On Behalf Of Pavan Nikhilesh

Bhagavatula

Quoted 6 lines

Sent: Monday, November 8, 2021 5:02 PM
To: Ferruh Yigit <[email protected]>; Thomas Monjalon <[email protected]>; Shijith Thotton <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; [email protected]; [email protected]
Subject: Re: [dpdk-dev] [EXT] Re: compilation time of cnxk event

driver

Quoted 4 lines

Hi Thomas, Ferruh,

We need to further split Rx/Tx functions in both net/cnxk and

event/cnxk to

Quoted 23 lines

enable more parallelism.
This is planned for the next release.

Thanks,
Pavan.

Quoted 17 lines

-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Monday, November 8, 2021 2:26 PM
To: Thomas Monjalon <[email protected]>; Pavan Nikhilesh Bhagavatula <[email protected]>; Shijith Thotton <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; [email protected]; [email protected]
Subject: [EXT] Re: [dpdk-dev] compilation time of cnxk event driver

External Email

----------------------------------------------------------------------

Quoted 3 lines · Thomas Monjalon

Hi,

It seems compilation time of drivers/event/cnxk is getting very

long.

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Please could you look at it?

ack, I also recognized it. Various builds all stuck on same a few files.

#5 lore raw

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

Regards,
Nipun

Quoted 126 lines

-----Original Message-----
From: Pavan Nikhilesh Bhagavatula <[email protected]>
Sent: Thursday, November 11, 2021 7:51 PM
To: Nipun Gupta <[email protected]>; Ferruh Yigit <[email protected]>; Thomas Monjalon <[email protected]>; Shijith Thotton <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; [email protected]; [email protected]; Rohit Raj <[email protected]>; Hemant Agrawal <[email protected]>
Subject: RE: [dpdk-dev] [EXT] Re: compilation time of cnxk event driver

Quoted 6 lines

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&amp;data=04%7C01%7Cnipun.gupta%40 nxp.com%7C36e8cc86950f4eedd66708d9a51e8858%7C686ea1d3bc2b4c6fa92c d99c5c301635%7C0%7C0%7C637722372842929752%7CUnknown%7CTWFpbGZ sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0 %3D%7C1000&amp;sdata=wnW8s%2FnwHEKVznbKgwKbv6XAT3AGYLCUBLyghC 11yRE%3D&amp;reserved=0

Quoted 98 lines

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

Quoted 2 lines

-----Original Message-----
From: dev <[email protected]> On Behalf Of Pavan Nikhilesh

Bhagavatula

Quoted 6 lines

Sent: Monday, November 8, 2021 5:02 PM
To: Ferruh Yigit <[email protected]>; Thomas Monjalon <[email protected]>; Shijith Thotton <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; [email protected]; [email protected]
Subject: Re: [dpdk-dev] [EXT] Re: compilation time of cnxk event

driver

Quoted 4 lines

Hi Thomas, Ferruh,

We need to further split Rx/Tx functions in both net/cnxk and

event/cnxk to

Quoted 23 lines

enable more parallelism.
This is planned for the next release.

Thanks,
Pavan.

Quoted 17 lines

-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Monday, November 8, 2021 2:26 PM
To: Thomas Monjalon <[email protected]>; Pavan Nikhilesh Bhagavatula <[email protected]>; Shijith Thotton <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; [email protected]; [email protected]
Subject: [EXT] Re: [dpdk-dev] compilation time of cnxk event driver

External Email

----------------------------------------------------------------------

Quoted 3 lines · Thomas Monjalon

Hi,

It seems compilation time of drivers/event/cnxk is getting very

long.

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

Please could you look at it?

ack, I also recognized it. Various builds all stuck on same a few files.

#6 lore raw
In reply to Pavan Nikhilesh Bhagavatula
Quoted 2 lines · Pavan Nikhilesh Bhagavatula

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.

Looking fwd to this change.

Signature · 1 line
David Marchand