Skip to content

A very simple and pratical DPDK sample implying a client and a server

Notifications You must be signed in to change notification settings

cdelzotti/BasicDPDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic DPDK

This is a basic DPDK application meant as a learning exercice. it includes

  • A Client sending messages
  • A Server receiving them and printing payloads

Config

You can edit env.h to configure the project as you like.

Build

First, you need to be sure to link DPDK correctly. To do so, you might want to use the following commands :

# PKG-CONFIG CONFIG
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/path/to/libdpdk.pc/
# Example : PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/clement/dpdk/build/meson-private/
# CONFIG LINKER
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/dpdk/folder/build/lib/
# Example : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/clement/dpdk/build/lib/
sudo ldconfig

Then just go within server/ and client/ and run :

make static

About

A very simple and pratical DPDK sample implying a client and a server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published