Intel® Ethernet Controller E810 Data Plane Development Kit (DPDK) 22.11/23.03
Configuration Guide
Setting Up pktgen Server
- Get the latest pktgen application from git repository to the DPDK root directory.
git clone git://dpdk.org/apps/pktgen-dpdk Or, download from:
- Download and install lua.
Lua is used in pktgen to script and configure the application and also to plug into DPDK functions to expose configuration and statistics.
For Ubuntu:
sudo apt-get install liblua5.3-0 liblua5.3-dev libpcap-dev libbsd-dev For RHEL:
Download lua-5.4.4.tar.gz from https://www.lua.org/download.html, then copy it to a peer system like /usr/local/src/ and extract it:
# tar zxf lua-5.4.4.tar.gz # cd lua-5.4.4/ # make linux install - Download libpcap-devel from https://pkgs.org/download/libpcap-devel and install it:
# rpm -ivh libpcap-devel*
- Download libpcap-devel from https://pkgs.org/download/libpcap-devel and install it:
- Install pktgen.
If git clone is used to download pktgen, use:
cd pktgen-dpdk make The pktgen application is now under root /pktgen-dpdk/Builddir/app directory:
root@user:/pktgen-dpdk/Builddir/app#./pktgen