Skip to content

Latest commit

 

History

68 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Data Plane Development Kit (DPDK) integration into OpenWrt

This repository contains all necessary packages for the compilation of DPDK on OpenWrt. CPU architectures x86_64 and aarch64 are supported.

Packages are assembled by information from https://doc.dpdk.org/guides/howto/openwrt.html.

Repository packages

  • dpdk - Data Plane Development Kit main package; package contains:
    • libdpdk - DPDK librarioes
    • dpdk-tools - DPDK tools
  • numactl (required) - Simple NUMA policy support package

OpenWrt 23 and newer has packages kmod-iommu_v2 (kernel-modules support of IOMMU for INTEL/AMD processors) and kmod-vfio (kernel-modules support of Virtual Function I/O for PCI interfaces) directly in menuconfig.

Compilation & Installation

Requirements

  • Compilation can be done on OpenWrt 23.05 and newer.

OpenWrt build configuration

Make a system from sources. Use branches 23.05 or newer.

Add this repo to OpenWrt feed.conf

echo "src-git dpdk_repo https://github.com/k13132/openwrt-dpdk;openwrt_23+" >> feeds.conf

Update OpenWrt package feeds

./scripts/feeds update dpdk_repo
./scripts/feeds install -a -p dpdk_repo

Use/select libdpdk, dpdk-tools packages

make menuconfig

Compile DPDK packages

make package/dpdk/compile -j$((`nproc`+1))

About

Data Plane Development Kit (DPDK) integration into OpenWrt

Topics

Resources

Stars

37 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages