Skip to content

IbrahimShahzad/dpdk-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DPDK-Learning

Learn To Receive, Parse and Transmit

Whats happening inside

design

Requirements

  • A linux based system:
    • 2 Intel processors, each with 8 cores, 8 GB RAM
    • 2 DPDK compatible NIC(s) with traffic on atleast one
  • Some knowledge of C

How to run

First,

  • make sure you have DPDK installed
  • make sure hugepages are setup. (help!)
  • make sure NIC(s) are binded to igb_uio driver. (help!)

Now

  • Clone this repo
git clone https://github.com/IbrahimShahzad/dpdk-learning.git
cd dpdk-learning
  • compile the code
make
  • Run the following command to get started
./build/my_app -l 0-3 -n 3 -- -p 0x3

If you are having trouble, see here