vader
September 22, 2022, 10:31am
1
I build image from lx2160a_build with DPDK,and deploy to LX2160A. But when I run this command,
dpdk-devbind.py -s
give me some error meeags,like those,
lspci: Unable to load libkmod resources: error -12
lspci: Unable to load libkmod resources: error -12
lspci: Unable to load libkmod resources: error -12
lspci: Unable to load libkmod resources: error -12
lspci: Unable to load libkmod resources: error -12
lspci: Unable to load libkmod resources: error -12
lspci: Unable to load libkmod resources: error -12
lspci: Unable to load libkmod resources: error -12
No 'Network' devices detected
=============================
No 'Baseband' devices detected
==============================
No 'Crypto' devices detected
============================
No 'Eventdev' devices detected
==============================
No 'Mempool' devices detected
=============================
No 'Compress' devices detected
==============================
No 'Misc (rawdev)' devices detected
===================================
No 'Regex' devices detected
===========================
how to fix it?
And you are following the instructions in NXP’s documentation? NXP
vader
September 27, 2022, 2:59am
3
Yes,it’s completely step by step.
And there is no any Network devices detected.
vader
September 27, 2022, 3:03am
4
I try to install dpdk from HomePage of DPDK,there is no this problom.
But I don’t think it can work with LX2160A, because no DPAA2 driver in that DPDK.
I am pretty sure dpaa2 support has been merged into mainline DPDK, or at least partially. I will need to double check that.
womble
September 27, 2022, 2:16pm
6
I expect a DPRC needs to be created with dynamic_dpl.sh
vader
September 28, 2022, 1:49am
7
Yes ,I run
dynamic_dpl.sh dpmac.10
export DPRC=dprc.2
and then run dpdk_testpmd ,it is work. I’m wondering why there are no any network devices displayed and how to fix “Unable to load libkmod resources: error -12”.
vader
September 28, 2022, 1:50am
8
ok , I will install mainline DPDK,and test it again.
womble
September 28, 2022, 10:16am
9
You don’t use dpdk-devbind.py on DPAA2.
You need to control driver binding using the datapath device trees (DPL / DPC) and/or the NXP run-time scripts - dynamic_dpl.sh, ls-listmac, ls-addni, etc.
If by “no any network devices displayed” you mean in Linux (e.g. ifconfig / ip link) then you need to bind native interfaces to the dpmacs using ls-addni.
vader
September 30, 2022, 1:13am
10
that is to say,dpdk-devbind.py has no use in DPAA2.