dpdk pktgen fails to initiate with more than 3 dpni

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

dpdk pktgen fails to initiate with more than 3 dpni

Jump to solution
1,185 Views
LeNormich
Contributor I

Hello everyone,

I'm beginning to use an LS2088ARDB board and I'm trying to use it with pktgen from dpdk.

I managed to have ports generate frames when i use 1,2 or 3 ports but it fails when I use more.

I start by creating a dprc containing my 4 dpni/dpmac using the "dynamic_dpl.sh" script, then i export DPRC=dprc.2 and i launch the application:

 

pktgen -l 0-7 -n 8 --proc-type auto --file-prefix pg --log-level 8 -- -T -P -m "1.0,2.1,3.2,4.3" -l pktgentest.log

 

that command fails with messages:

 

mempool/dpaa2: DPAA2 pool not available!
mempool/dpaa2: Not a valid dpaa2 buffer pool
!PANIC!: Cannot create mbuf pool (Default TX 3:0) port 3, queue 0, nb_mbufs 8192, socket_id 0: No such file or directory
PANIC in pktgen_mbuf_pool_create():
Cannot create mbuf pool (Default TX 3:0) port 3, queue 0, nb_mbufs 8192, socket_id 0: No such file or directory1: [pktgen(rte_dump_stack+0x38) [0xaaaae5a207b8]]

 

while the command:

 

pktgen -l 0-7 -n 8 --proc-type auto --file-prefix pg --log-level 8 -- -T -P -m "1.0,2.1,3.2" -l pktgentest.log

 

works fine.

The board should be able to handle that 4th port using a 4th core in my opinion.

I'm begining to use the platform and i have not fully understood the architecture.
Does anyone have an idea about this issue?

Thanks

0 Kudos
1 Solution
1,169 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following example, please change DPBP_COUNT value.

root@lx2160ardb:/usr/share/dpdk/dpaa2# export DPBP_COUNT=36
root@lx2160ardb:/usr/share/dpdk/dpaa2# ./dynamic_dpl.sh dpmac.3 dpmac.4  dpmac.5 dpmac.6

 export DPRC=dprc.2

View solution in original post

0 Kudos
2 Replies
1,170 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following example, please change DPBP_COUNT value.

root@lx2160ardb:/usr/share/dpdk/dpaa2# export DPBP_COUNT=36
root@lx2160ardb:/usr/share/dpdk/dpaa2# ./dynamic_dpl.sh dpmac.3 dpmac.4  dpmac.5 dpmac.6

 export DPRC=dprc.2

0 Kudos
1,163 Views
LeNormich
Contributor I

Thanks it worked like a charm

I set it to a higher value to be able to use all 8 ports of the board

0 Kudos