# DPDK not working on LX2160A ClearFog

**URL:** <https://community.solid-run.com/t/dpdk-not-working-on-lx2160a-clearfog/1071>\
**Category:** NXP LX2160\
**Tags:** NXP-LX2160\
**Created:** [September 18, 2025, 5:51pm UTC](https://community.solid-run.com/t/dpdk-not-working-on-lx2160a-clearfog/1071 "2025-09-18T17:51:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vbashamoni](https://avatars.discourse-cdn.com/v4/letter/v/41988e/32.png) [@Vbashamoni](https://community.solid-run.com/u/Vbashamoni)\
**Post date:** [September 18, 2025, 5:51pm UTC](https://community.solid-run.com/t/dpdk-not-working-on-lx2160a-clearfog/1071/1 "2025-09-18T17:51:09Z")

</div>

I was able to boot the BSP successfully on Clear-Fog LX2160A board and working on enabling DPDK with the onboard SFP+ ports. I’m able to bind as SFP module to DPDK (via vfio-fsl-mc), but when I attempt to start DPDK testpmd, it fails with following errors.

root@localhost:~# dynamic\_dpl.sh dpmac.7 dpmac.9

parent - dprc.1

Creating Non nested DPRC

NEW DPRCs

dprc.1

dprc.2

Using board type as 2160

Using High Performance Buffers

##################### Container dprc.2 is created ####################

Container dprc.2 have following resources :=\>

\* 3 DPMCP

\* 16 DPBP

\* 8 DPCON

\* 16 DPSECI

\* 2 DPNI

\* 34 DPIO

\* 8 DPCI

\* 64 DPDMAI

\* 0 DPRTC

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

Interface Name Endpoint Mac Address

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

dpni.1 dpmac.7 -Dynamic-

dpni.2 dpmac.9 -Dynamic-

root@localhost:~# ls -l /sys/bus/fsl-mc/drivers/vfio-fsl-mc/ | grep dpni.1

lrwxrwxrwx 1 root root 0 Mar 12 05:13 dpni.1 → ../../../../devices/platform/soc/80c000000.fsl-mc/dprc.1/dprc.2/dpni.1

root@localhost:~#

root@localhost:~# ls -l /sys/bus/fsl-mc/drivers/vfio-fsl-mc/ | grep dpni.2

lrwxrwxrwx 1 root root 0 Mar 12 05:13 dpni.2 → ../../../../devices/platform/soc/80c000000.fsl-mc/dprc.1/dprc.2/dpni.2

root@localhost:~#

root@localhost:~# dpdk-hugepages.py --setup 2G

root@localhost:~#

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

root@localhost:~#

root@localhost:~# dpdk-testpmd – -i

EAL: Detected CPU lcores: 16

EAL: Detected NUMA nodes: 1

EAL: Detected shared linkage of DPDK

EAL: Multi-process socket /var/run/dpdk/rte/mp\_socket

EAL: Selected IOVA mode ‘VA’

EAL: No available 2048 kB hugepages reported

EAL: No available 32768 kB hugepages reported

EAL: No available 64 kB hugepages reported

EAL: VFIO support initialized

TELEMETRY: No legacy callbacks, legacy socket not created

testpmd: No probed ethernet devices

Interactive-mode selected

testpmd: create a new mbuf pool \<mb\_pool\_0\>: n=267456, size=2176, socket=0

testpmd: preferred mempool ops selected: ring\_mp\_mc

MBUF: error setting mempool handler

EAL: Error - exiting with code: 1

Cause: Creation of mbuf pool for socket 0 failed: Invalid argument  
root@localhost:~#

DPDK libraries installation: what are the recommended steps to install the correct version of DPDK libraries?? We are currently using [SolidRun Images](https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fimages.solid-run.com%2fLX2k%2flx2160a_build%2fls-5.15.71-2.2.0%2f2025-08-12_d175189&c=E,1,oOX9L5cdjsQS5KXmHKu8_iicnb7guy1B3wVxPgh1WrKvhb2FldbzJaj1H0U75sJ9REsx9IEw4WOEIjvjyyxaCC7bQA-zp0_iqnIY7cZ-HSDMu9q9N-B4Lg,,&typo=1) dpdk-.tar.xz.

Binding NICs to DPDK: what is the recommended procedure to correctly bind SFP+ ports (dpmac/dpni) to vfio-fsl-mc. ??

Running dpdk-testpmd: are there any known limitations with the BSP kernel, DTB that could cause testpmd to fail on this platform. ??

Thanks in advance  
Venky
