dpdk pktgen fails to initiate with more than 3 dpni

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

dpdk pktgen fails to initiate with more than 3 dpni

跳至解决方案
1,202 次查看
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 项奖励
1 解答
1,186 次查看
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 项奖励
2 回复数
1,187 次查看
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 项奖励
1,180 次查看
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 项奖励