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:
- 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
- When attempting to set VF trust mode using the command:
# ip link set eth0 vf 0 trust on
RTNETLINK answers: Operation not supported
- 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.