4. HISILICON Kunpeng DMA Driver
Kunpeng SoC has an internal DMA unit which can be used by application to accelerate data copies. The DMA PF function supports multiple DMA channels.
4.1. Supported Kunpeng SoCs
- Kunpeng 920
- Kunpeng 930
4.2. Device Setup
Kunpeng DMA devices will need to be bound to a suitable DPDK-supported
user-space IO driver such as
vfio-pci in order to be used by DPDK.
4.2.1. Device Probing and Initialization
Once probed successfully, the device will appear as four
which can be accessed using API from the
The name of the
dmadev created is like “B:D.F-chX”, e.g. DMA 0000:7b:00.0
will create four
dmadev name is “0000:7b:00.0-ch0”,
and the 2nd
dmadev name is “0000:7b:00.0-ch1”.
4.2.2. Device Configuration
Kunpeng DMA configuration requirements:
ring_sizemust be a power of two, between 32 and 8192.
- Only one
vchanis supported per
- Silent mode is not supported.
- The transfer direction must be set to