Skip to content
forked from xiangp126/dpdk

DPDK 17.11 LTS only for indexing & querying

License

GPL-2.0, LGPL-2.1 licenses found

Licenses found

GPL-2.0
LICENSE.GPL
LGPL-2.1
LICENSE.LGPL
Notifications You must be signed in to change notification settings

weiyanhua100/dpdk

 
 

Repository files navigation

DPDK

Illustrate

DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes, API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org

Prerequisite

CentOS

yum update -y
yum install numactl-devel libpcap-devel popt-devel kernel-devel -y

Ubuntu

apt-get install libnuma-dev libpcap-dev -y

Quick start

http://www.dpdk.org/doc/quick-start

make config T=x86_64-native-linuxapp-gcc
sed -ri 's,(PMD_PCAP=).*,\1y,' build/.config

make -j 40

mkdir -p /mnt/huge
mount -t hugetlbfs nodev /mnt/huge

Build

  • export var
# cd 'dpdk main directory'
export RTE_SDK=`pwd`
# export RTE_TARGET=build
  • build examples
# cd 'dpdk main directory'
cd example
make -j
  • build dpvs
# cd 'dpvs main directory'
make -j

Debug Help

for dpvs step into dpdk functions

# cd 'dpdk main directory'
export EXTRA_CFLAGS="-O0 -g3"
make clean
make -j

jump into dpvs main directory

make clean
make -j

then relaunch cgdb

cgdb src/dpvs

Uknown Symbols

if insmod build/kmod/igb_uio.ko failed with unknown symbols, try first

modprobe igb
modprobe uio

About

DPDK 17.11 LTS only for indexing & querying

Resources

License

GPL-2.0, LGPL-2.1 licenses found

Licenses found

GPL-2.0
LICENSE.GPL
LGPL-2.1
LICENSE.LGPL

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 94.9%
  • C++ 2.1%
  • Makefile 1.9%
  • Python 0.4%
  • Objective-C 0.4%
  • Shell 0.3%