Below are some pre-requisites for executing PFE PMD on a PFE
compatible board:
1.**ARM 64 Tool Chain**
For example, the `*aarch64* Linaro Toolchain <https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-linux-gnu/gcc-linaro-7.3.1-2018.05-i686_aarch64-linux-gnu.tar.xz>`_.
2.**Linux Kernel**
It can be obtained from `NXP's Github hosting <https://source.codeaurora.org/external/qoriq/qoriq-components/linux>`_.
3.**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 <http://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/ubuntu-base-18.04.1-base-arm64.tar.gz>`_.
4. The ethernet device will be registered as virtual device, so pfe has dependency on
**rte_bus_vdev** library and it is mandatory to use `--vdev` with value `net_pfe` to
run DPDK application.
The following dependencies are not part of DPDK and must be installed
separately:
-**NXP Linux LSDK**
NXP Layerscape software development kit (LSDK) 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.
LSDK and related information can be obtained from: `LSDK <https://www.nxp.com/support/developer-resources/run-time-software/linux-software-and-development-tools/layerscape-software-development-kit:LAYERSCAPE-SDK>`_
-**pfe kernel module**
pfe kernel module can be obtained from NXP Layerscape software development kit at
location `/lib/modules/<kernel version>/kernel/drivers/staging/fsl_ppfe` in rootfs.
Module should be loaded using below command:
..code-block:: console
insmod pfe.ko us=1
Driver compilation and testing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Follow instructions available in the document
:ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
to launch **testpmd**
Additionally, PFE driver needs `--vdev` as an input with value `net_pfe`
to execute DPDK application. There is an optional parameter `intf` available
to specify port ID. PFE driver supports only two interfaces, so valid values