Versions Compared

Key

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

...

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 Clearfogupper row ports (2x SFP+ ports, 4x RJ45) on named dprc object
export DPRC=dprc.2
export DPDMAI_COUNT=60 # max. 60 on LX2162A
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.10.4                dpmac.16              -Dynamic-                
dpni.5                dpmac.615              -Dynamic-                
dpni.9                dpmac.13              -Dynamic-                
dpni.11               dpmac.4 14              -Dynamic-

PCI Network Interfaces

...