Dpdk全称为(Data Plane Development Kit),字面上看解释其实就是一款数据面软件开发套件,究其本质,也就是一些底层的软件库组成。是一个高性能网络数据宝处理框架。我最初开始接触Dpdk的时候一脸懵逼,没有任何人教授,只能在网络上一点点啃,国内外各种资料慢慢磨,慢慢摸索出一些门道,现在还是很菜,但是至少有迹可循了!!记录下dpdk环境搭建开发的一个过程,帮助下有缘的小白们入门。
---------------------------------------------------------- Step 2: Setup linuxapp environment ---------------------------------------------------------- [16] Insert IGB UIO module [17] Insert VFIO module [18] Insert KNI module [19] Setup hugepage mappings for non-NUMA systems [20] Setup hugepage mappings for NUMA systems [21] Display current Ethernet/Crypto device settings [22] Bind Ethernet/Crypto device to IGB UIO module [23] Bind Ethernet/Crypto device to VFIO module [24] Setup VFIO permissions
---------------------------------------------------------- Step 3: Run test application for linuxapp environment ---------------------------------------------------------- [25] Run test application ($RTE_TARGET/app/test) [26] Run testpmd application in interactive mode ($RTE_TARGET/app/testpmd)
---------------------------------------------------------- Step 4: Other tools ---------------------------------------------------------- [27] List hugepage info from /proc/meminfo
---------------------------------------------------------- Step 5: Uninstall and system cleanup ---------------------------------------------------------- [28] Unbind devices from IGB UIO or VFIO driver [29] Remove IGB UIO module [30] Remove VFIO module [31] Remove KNI module [32] Remove hugepage mappings
[33] Exit Script
Option:
Step 1: Select the DPDK environment to build(选择dpdk环境进行编译)