Data Plane Development Kit Integration
EDF ships the Data Plane Development Kit (DPDK) for 64-bit Arm machines, together with the AMD Poll-Mode Driver (PMD), which currently covers the XXV Ethernet and AXI DMA PL IP.
Layers
Two layers provide it, both enabled by default in the EDF
bblayers.conf:
meta-dpdkUnmodified fork of the upstream Yocto Project DPDK layer. It provides the
dpdkrecipe itself and is not modified by AMD.meta-amd-dpdkAMD additions, carried as a sub-layer of the
meta-xilinxrepository rather than as a manifest project of its own. It carries the DPDK core patch the PMD needs, turns on thedriver-sdkbuild option that installs the driver headers, and holds theethernet-pmdrecipe.
Packages
On 64-bit Arm machines edf-image-everything builds dpdk,
dpdk-examples, dpdk-tools and ethernet-pmd into the package
feed, so they can be installed on a running target:
# dnf install dpdk ethernet-pmd
They are not installed by default.
Building the Driver
$ MACHINE=amd-cortexa72-common bitbake ethernet-pmd
The driver builds for any 64-bit Arm machine. The IP is a PL design element rather than a fixed part of the device, so the recipe is not restricted to particular boards – whether the hardware is present depends on the design that is loaded.
The driver installs into the DPDK plugin directory,
${libdir}/dpdk/pmds-<abi>/, where <abi> is the application
binary interface (ABI) version of the DPDK it is built
against. Its source is at
Xilinx/ethernet-pmd.