LSDK v18.06, DPDK problem

cancel
Showing results for 
Search instead for 
Did you mean: 

LSDK v18.06, DPDK problem

987 Views
nic30
Contributor I

Hello,

I have problem with allocation of some objects on DPAA2.

Durning boot there is an error:

fsl_mc_dprc dprc.1: No more resources of type dpmcp left

(But I did use default DPC/DPL file. And there should be enough of DPMCP objects.)

Probably because of this error I can not bind vfio driver to DPRC container.

Does anyone know what is causing this issue?

I am using:

SoC:  LS2088AE Rev1.0 (0x87090010)

Board: LS2088AE Rev1.0-RDB, Board Arch: V1, Board version: F, boot from vBank: 4

U-Boot 2018.03+fsl+gb3f98d438e (Jul 19 2018 - 17:29:13 +0000)

PPA Firmware: Version LSDK-18.06

fsl-mc: Management Complex booted (version: 10.8.0, boot status: 0x1)

Linux version 4.14.47+gb09b730fcb1c (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Thu Jul 19 17:30:05 UTC 2018

dpc.0x2A_0x41.dtb

dpl-eth.0x2A_0x41.dtb

from GitHub - qoriq-open-source/mc-utils  tag v18.06

Labels (1)
0 Kudos
1 Reply

372 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello nic nic ,

Please refer to the following procedure to setup DPDK.

root@localhost:~# source /root/dpdkfiles/dynamic_dpl.sh dpmac.1

parent - dprc.1

Creating Non nested DPRC

NEW DPRCs

dprc.1

  dprc.2

Using board type as 2088

Using High Performance Buffers

mkdir: cannot create directory '/mnt/hugepages': File exists

 

##################### Container [0;32m dprc.2 [0m is created ####################

 

Container dprc.2 have following resources :=>

 

 * 1 DPMCP

 * 16 DPBP

 * 8 DPCON

 * 8 DPSECI

 * 1 DPNI

 * 18 DPIO

 * 2 DPCI

 * 2 DPDMAI

 

 

######################### Configured Interfaces #########################

 

Interface Name        Endpoint              Mac Address             

==============        ========              ==================      

dpni.1                dpmac.1               00:00:00:00:0:1         

 

root@localhost:~# export DPRC=dprc.2

root@localhost:~# echo $?

0

root@localhost:~# export NXP_CHRT_PERF_MODE=1

root@localhost:~# /root/dpdkfiles/l2fwd-crypto -v -c 0x80 -n 1 -- -p 0x1 -q 1 --chain CIPHER_ONLY --cipher_algo aes-cbc --cipher_op ENCRYPT --cipher_key 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f:10


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos