Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Revision and Notes

Date

Owner

Revision

Notes

0

Draft

Table of Contents

Table of Contents
minLevel1
maxLevel7

Prebuilt Binaries

The SolidRun LX2160A Reference BSP version ls-5.15.7102.2.0 dated 03/07/2025 or later compiles a binary distribution of DPDK that can be execute testpmd. This is for validation purposes only, in deployment customers are expected to build their own. Binaries are available here.

...

LX2160A Honeycomb & Clearfog-CX

Port Names

TBDdpmac.9 (SFP+)TBD

dpmac.7 (SFP+)

dpmac.17 (RJ45)

TBD.

TBDdpmac.10 (SFP+)TBD

dpmac.8 (SFP+)

LX2162A Clearfog

Port Names

dpmac.5 (SFP+SFP28)

dpmac.3 (SFP+)

dpmac.16 (RJ45)

dpmac.15 (RJ45)

dpmac.13 (RJ45)

dpmac.14 (RJ45)

dpmac.6 (SFP+SFP28)

dpmac.4 (SFP+)

dpmac.12 (RJ45)

dpmac.11 (RJ45)

dpmac.17 (RJ45)

dpmac.18 (RJ45)

...

After choosing the list of interfaces that DPDK should use - after unbinding Linux drivers - and after destroying any attached dpni objects, they can be prepared for DPDK using the nxp/dpaa2/dynamic_dpl.sh script:

Code Block
# bind LX2162 Clearfog upper row ports (2x SFP+ ports, 4x RJ45) on named dprc object
export DPRC=dprc.2
export DPDMAI_COUNT=6038 # max. 60 on LX2162Amore interfaces means fewer dpdma available
dynamic_dpl.sh dpmac.5 dpmac.3 dpmac.616 dpmac.15 dpmac.13 dpmac.414

Example output:

Code Block
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
 * 46 DPNI
 * 34 DPIO
 * 8 DPCI
 * 6038 DPDMAI
 * 0 DPRTC


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

Interface Name        Endpoint              Mac Address              
==============        ========              ==================       
dpni.82                dpmac.5               -Dynamic-                
dpni.93                dpmac.3               -Dynamic-                
dpni.4                dpmac.16              -Dynamic-                
dpni.105                dpmac.6 15              -Dynamic-                
dpni.9                dpmac.13              -Dynamic-                
dpni.11               dpmac.4 14              -Dynamic-

PCI Network Interfaces

...

Code Block
# enable 2G pages
dpdk-hugepages.py --setup 2G

# interactive testpmd session
export DPRC=dprc.2
dpdk-testpmd -- -i

Example Output:

...