DPDK initialize issue based on LX2160ARDB_Rev2

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

DPDK initialize issue based on LX2160ARDB_Rev2

185 Views
jackho
Contributor III

Hi expert,

We try to do DPDK initialize with MC firmware 10.35 on dpmac3 port by the following command:

BSP is based on LSDK-20.04-update-290520

Linux Kernel is based on 4.19.90-rt35

DPDK version:19.11.6-rc1

DPDK Command:

export DPRC=dprc.2
export DPIO_COUNT=8
export DPMCP_COUNT=2

echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind
restool dpni destroy dpni.2

/usr/local/dpdk/dpaa2/dynamic_dpl.sh dpni dpni -b 00:00:00:00:07:00

/usr/local/dpdk/dpaa2/dynamic_dpl.sh dpni dpni -b 00:00:00:00:08:00

ls-addni --no-link --mac-addr=80:78:71:12:c3:96

restool dpdmux create --num-ifs=3 --method DPDMUX_METHOD_MAC --container=dprc.1
restool dprc connect dprc.1 --endpoint1=dpdmux.0.0 --endpoint2=dpmac.3
restool dprc connect dprc.1 --endpoint1=dpdmux.0.1 --endpoint2=dpni.2
restool dprc connect dprc.1 --endpoint1=dpni.3 --endpoint2=dpni.4
restool dprc connect dprc.1 --endpoint1=dpdmux.0.3 --endpoint2=dpni.6
restool dprc assign dprc.1 --object=dpdmux.0 --plugged=1

The command is running correctly without any error, but after running the command finished for a few minutes, system halts and shows the below error message, do you have any idea what cause this issue?

Error log:
rcu: 0-...!: (160 ticks this GP) idle=202/1/0x4000000000000002 softirq=0/0 fqs=0 
[  983.630057] rcu: (t=8725 jiffies g=156273 q=37)
[  983.630062] rcu: rcu_preempt kthread starved for 8725 jiffies! g156273 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
[  983.630062] rcu: RCU grace-period kthread stack dump:
[ 1001.457989] dpaa2_evb dpdmux.0 evb0: dpdmux_if_get_counter err -110
[ 1002.457913] dpaa2_evb dpdmux.0 evb0p0: dpdmux_if_get_counter err -13
[ 1003.663091] dpaa2_evb dpdmux.0 evb0p1: dpdmux_if_get_counter err -13
[ 1003.669974] dpaa2_evb dpdmux.0 evb0p2: dpdmux_if_get_counter err -13
[ 1003.706992] dpaa2_evb dpdmux.0 evb0: dpdmux_if_get_counter err -13
 
 
BR,
Thanks
Jack Ho
0 Kudos
2 Replies

128 Views
jackho
Contributor III

Hi,

Thanks for the reply, I try to upgrade MC version 10.36, this issue solved.

BR,

Jack Ho

0 Kudos

149 Views
yipingwang
NXP TechSupport
NXP TechSupport

I verified LSDK-20.04-update-290520 pre-built image with MC firmware 10.38, didn't reproduce your problem. Please refer to my attached log.

Please try the attached MC firmware 10.38 whether your problem persists.

If this problem persists, please try to use the pre-built image of LSDK-20.04-update-290520 to do verification.

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2004/bootpartition_LS_arm64_lts_4.19.tgz

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2004-update-290520/rootfs_lsdk2004_ubuntu_main_arm64.tgz

0 Kudos