- Based on ferruhy's repository "dpdk-simple-app"
- Expanded by parsing the followine headers
- Ethernet
- Source MAC Address
- Destination MAC Address
- Network
- Source IPv4 Address
- Destination IPv4 Address
- Transport Layer
- Source Port
- Destination Port
- Ethernet
- Follow Along here
- 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
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