2. NXP QorIQ DPAA Board Support Package
This doc has information about steps to setup QorIQ dpaa based layerscape platform and information about common offload hw block drivers of NXP QorIQ DPAA SoC family.
2.1. Supported DPAA SoCs
LS1046A/LS1026A
LS1043A/LS1023A
More information about SoC can be found at NXP Official Website.
2.2. Common Offload HW Block Drivers
Nics Driver
See DPAA Poll Mode Driver for NXP dpaa nic driver information.
Cryptodev Driver
See NXP DPAA CAAM (DPAA_SEC) for NXP dpaa cryptodev driver information.
Eventdev Driver
See NXP DPAA Eventdev Driver for NXP dpaa eventdev driver information.
2.3. Steps To Setup Platform
There are four main pre-requisites for executing DPAA PMD on a DPAA compatible board:
ARM 64 Tool Chain
For example, the *aarch64* Linaro Toolchain.
Linux Kernel
It can be obtained from NXP’s Github hosting.
Rootfile system
Any aarch64 supporting filesystem can be used. For example, Ubuntu 16.04 LTS (Xenial) or 18.04 (Bionic) userland which can be obtained from here.
FMC Tool
If one is planning to use more than 1 Recv queue and hardware capability to parse, classify and distribute the packets, the Frame Manager Configuration Tool (FMC) need to be executed to set the configurations of the queues before running the DPAA based DPDK application. This setting is persistent, the configuration will remain in the hardware till it is re-configured. This includes the queue state, RSS and other policies. This tool can be obtained from NXP (Freescale) Public Git Repository.
This tool needs configuration files which are available in the DPDK Extra Scripts, described below for DPDK usages.
Note that DPAA PMD can also be executed using images provided as part of SDK from NXP. The SDK includes all the above prerequisites necessary (i.e. fmc tool) to bring up a DPAA board.
As an alternate method, DPAA PMDs starting from DPDK 20.11 also support the fmlib library integration. The driver will detect about any existing FMC based config (if /tmp/fmc.bin is present). DPAA FMD will be used only if no previous fmc config is existing.
Note that fmlib based integratin rely on underlying fmd driver in kernel, which is available as part of NXP kernel or NXP SDK.
The following dependencies are not part of DPDK and must be installed separately:
NXP Linux SDK
NXP Linux software development kit (SDK) includes support for family of QorIQ® ARM-Architecture-based system on chip (SoC) processors and corresponding boards.
It includes the Linux board support packages (BSPs) for NXP SoCs, a fully operational tool chain, kernel and board specific modules.
SDK and related information can be obtained from: NXP QorIQ SDK.
DPDK Extra Scripts
DPAA based resources can be configured easily with the help of ready scripts as provided in the DPDK Extra repository.
Currently supported by DPDK:
NXP SDK 2.0+ (preferred: LSDK 18.09).
Supported architectures: arm64 LE.
Follow the DPDK Getting Started Guide for Linux to setup the basic DPDK environment.