-
Notifications
You must be signed in to change notification settings - Fork 0
Pktgen
Ankit Bhardwaj edited this page Jan 11, 2023
·
1 revision
Download PktGen from the given URL.
Add the following lines: Change the $RTE_SDK to the location of the DPDK version directory. Your SDK directory may be named differently but should point to the DPDK
SDK directory.
# export RTE_SDK=<DPDKinstallDir>
# export RTE_TARGET=x86_64-native-linux-gcc
Create the DPDK build tree if you haven't already:
# cd $RTE_SDK
# make install T=x86_64-native-linux-gcc -j
Next we build pktgen:
# cd <PktgenInstallDir>
# make -j
Run it using:
sudo ./app/pktgen -l 0-4 -n 3 -- -T -P -m [2:4].0