DART-MX95 DPDK bring up

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

DART-MX95 DPDK bring up

Jump to solution
1,583 Views
dmonge
Contributor I

Hi,

I am working on bringing up DPDK on the DART-MX95. I have been following the instructions in the i.MX Linux Reference Manual, specifically Chapter 10: Data Plane Development Kit (DPDK).

In section 10.5.2.2, the manual specifies the device tree (dtb) to be used for the i.MX 95 EVK. However, I couldn’t find any mention of a DPDK-supported device tree for the DART-MX95. Are there any recommended device tree configurations or specific modifications required for this platform?

Related Information:

  • I am using the nanbield release of Yocto.
  • The Yocto DPDK recipe comes from this source.

Additionally, I’ve encountered the following issues:

  1. In section 10.5.4.2.1, the command below results in an error:

 

# devlink dev param set pci/0002:00:08.0 name si_num_rings cmode driverinit value 0106

/tmp/devlink dev param set pci/0002:00:08.0 name si_num_rings cmode driverinit value 0106 kernel answers: No such device



  1. When attempting to set VF trust mode using the command:



# ip link set eth0 vf 0 trust on

RTNETLINK answers: Operation not supported

 

  1. My primary issue is that DPDK does not recognize the port bonded for DPDK usage. To test DPDK functionality, I follow these steps:

 

# dpdk-devbind.py --bind=uio_pci_generic 0002:00:00.0

 

# dpdk-devbind.py -s

Network devices using DPDK-compatible driver

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

0002:00:00.0 'Device e101' drv=uio_pci_generic unused=vfio-pci

Network devices using kernel driver

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

0002:00:08.0 'Device e101' if=eth1 drv=fsl_enetc4 unused=vfio-pci,uio_pci_generic *Active*

Other Network devices

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

0002:00:10.0 'Device e101' unused=vfio-pci,uio_pci_generic

No 'Baseband' devices detected

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

No 'Crypto' devices detected

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

No 'DMA' devices detected

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

No 'Eventdev' devices detected

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

No 'Mempool' devices detected

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

No 'Compress' devices detected

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

No 'Misc (rawdev)' devices detected

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

No 'Regex' devices detected

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




# /usr/share/dpdk/examples/dpdk-l2fwd

EAL: Detected CPU lcores: 6

EAL: Detected NUMA nodes: 1

EAL: Detected static linkage of DPDK

EAL: Multi-process socket /var/run/dpdk/rte/mp_socket

EAL: Scan for (fslmc) bus failed.

EAL: Selected IOVA mode 'PA'

EAL: VFIO support initialized

TELEMETRY: No legacy callbacks, legacy socket not created

MAC updating enabled

EAL: Error - exiting with code: 1

 Cause: No Ethernet ports - bye



Could you provide guidance on resolving these issues? Are there additional configurations or dependencies I need to address?

Thank you for your support.

Tags (3)
0 Kudos
Reply
1 Solution
1,564 Views
joanxie
NXP TechSupport
NXP TechSupport

i.mx95 is still under preproduction, we don't have further information can share, pls contact local representative to get further help

Distributor Network | NXP Semiconductors

View solution in original post

0 Kudos
Reply
1 Reply
1,565 Views
joanxie
NXP TechSupport
NXP TechSupport

i.mx95 is still under preproduction, we don't have further information can share, pls contact local representative to get further help

Distributor Network | NXP Semiconductors

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2010531%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDART-MX95%20DPDK%20bring%20up%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2010531%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EHi%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20am%20working%20on%20bringing%20up%20DPDK%20on%20the%20DART-MX95.%20I%20have%20been%20following%20the%20instructions%20in%20the%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Freference-manual%2FIMX_REFERENCE_MANUAL.pdf%3F_gl%3D1*1epe6y1*_ga*ODM5MjIxMzM1LjE3MjkxMjA0ODU.*_ga_WM5LE0KMSH*MTczMzI1Njc4Ny4yNy4xLjE3MzMyNTkwNDYuMC4wLjA.%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%3Ei.MX%20Linux%20Reference%20Manual%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%2C%20specifically%20Chapter%2010%3A%20Data%20Plane%20Development%20Kit%20(DPDK).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIn%20section%2010.5.2.2%2C%20the%20manual%20specifies%20the%20device%20tree%20(dtb)%20to%20be%20used%20for%20the%20i.MX%2095%20EVK.%20However%2C%20I%20couldn%E2%80%99t%20find%20any%20mention%20of%20a%20DPDK-supported%20device%20tree%20for%20the%20DART-MX95.%20Are%20there%20any%20recommended%20device%20tree%20configurations%20or%20specific%20modifications%20required%20for%20this%20platform%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ERelated%20Information%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EI%20am%20using%20the%20%3C%2FSPAN%3E%3CI%3E%3CSPAN%3Enanbield%3C%2FSPAN%3E%3C%2FI%3E%3CSPAN%3E%20release%20of%20Yocto.%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EThe%20Yocto%20DPDK%20recipe%20comes%20from%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fmeta-imx%2Fblob%2Frel_imx_6.6.3_1.0.0%2Fmeta-imx-sdk%2Frecipes-extended%2Fdpdk%2Fdpdk_22.11.bb%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%3Ethis%20source%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3EAdditionally%2C%20I%E2%80%99ve%20encountered%20the%20following%20issues%3A%3C%2FSPAN%3E%3C%2FP%3E%3COL%3E%3CLI%3E%3CSPAN%3EIn%20section%2010.5.4.2.1%2C%20the%20command%20below%20results%20in%20an%20error%3A%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3CBR%20%2F%3E%3CPRE%3E%3CSPAN%3E%23%20devlink%20dev%20param%20set%20pci%2F0002%3A00%3A08.0%20name%20si_num_rings%20cmode%20driverinit%20value%200106%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%2Ftmp%2Fdevlink%20dev%20param%20set%20pci%2F0002%3A00%3A08.0%20name%20si_num_rings%20cmode%20driverinit%20value%200106%20%3C%2FSPAN%3E%3CSPAN%3Ekernel%20answers%3A%20No%20such%20device%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3COL%3E%3CLI%3E%3CSPAN%3EWhen%20attempting%20to%20set%20VF%20trust%20mode%20using%20the%20command%3A%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%3E%3CSPAN%3E%23%20ip%20link%20set%20eth0%20vf%200%20trust%20on%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ERTNETLINK%20answers%3A%20Operation%20not%20supported%3C%2FSPAN%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3COL%3E%3CLI%3E%3CSPAN%3EMy%20primary%20issue%20is%20that%20DPDK%20does%20not%20recognize%20the%20port%20bonded%20for%20DPDK%20usage.%20To%20test%20DPDK%20functionality%2C%20I%20follow%20these%20steps%3A%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3CBR%20%2F%3E%3CPRE%3E%3CSPAN%3E%23%20dpdk-devbind.py%20--bind%3Duio_pci_generic%200002%3A00%3A00.0%3C%2FSPAN%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CPRE%3E%3CSPAN%3E%23%20dpdk-devbind.py%20-s%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENetwork%20devices%20using%20DPDK-compatible%20driver%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E0002%3A00%3A00.0%20'Device%20e101'%20drv%3Duio_pci_generic%20unused%3Dvfio-pci%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENetwork%20devices%20using%20kernel%20driver%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E0002%3A00%3A08.0%20'Device%20e101'%20if%3Deth1%20drv%3Dfsl_enetc4%20unused%3Dvfio-pci%2Cuio_pci_generic%20*Active*%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EOther%20Network%20devices%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E0002%3A00%3A10.0%20'Device%20e101'%20unused%3Dvfio-pci%2Cuio_pci_generic%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENo%20'Baseband'%20devices%20detected%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENo%20'Crypto'%20devices%20detected%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENo%20'DMA'%20devices%20detected%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENo%20'Eventdev'%20devices%20detected%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENo%20'Mempool'%20devices%20detected%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENo%20'Compress'%20devices%20detected%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENo%20'Misc%20(rawdev)'%20devices%20detected%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENo%20'Regex'%20devices%20detected%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%3E%3CSPAN%3E%23%20%2Fusr%2Fshare%2Fdpdk%2Fexamples%2Fdpdk-l2fwd%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EEAL%3A%20Detected%20CPU%20lcores%3A%206%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EEAL%3A%20Detected%20NUMA%20nodes%3A%201%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EEAL%3A%20Detected%20static%20linkage%20of%20DPDK%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EEAL%3A%20Multi-process%20socket%20%2Fvar%2Frun%2Fdpdk%2Frte%2Fmp_socket%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EEAL%3A%20Scan%20for%20(fslmc)%20bus%20failed.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EEAL%3A%20Selected%20IOVA%20mode%20'PA'%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EEAL%3A%20VFIO%20support%20initialized%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ETELEMETRY%3A%20No%20legacy%20callbacks%2C%20legacy%20socket%20not%20created%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EMAC%20updating%20enabled%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EEAL%3A%20Error%20-%20exiting%20with%20code%3A%201%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3BCause%3A%20No%20Ethernet%20ports%20-%20bye%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECould%20you%20provide%20guidance%20on%20resolving%20these%20issues%3F%20Are%20there%20additional%20configurations%20or%20dependencies%20I%20need%20to%20address%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you%20for%20your%20support.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2010785%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20DART-MX95%20DPDK%20bring%20up%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2010785%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ei.mx95%20is%20still%20under%20preproduction%2C%20we%20don't%20have%20further%20information%20can%20share%2C%20pls%20contact%20local%20representative%20to%20get%20further%20help%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fsample-and-buy%2Fdistributor-network%3ADISTRIBUTORS%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EDistributor%20Network%20%7C%20NXP%20Semiconductors%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E