Intel® Ethernet Controller E810 Data Plane Development Kit (DPDK) 22.11/23.03

Configuration Guide

ID Date Version Classification
764257 06/16/2023 22.11 Public
Document Table of Contents

Setting Up pktgen Server

  1. Get the latest pktgen application from git repository to the DPDK root directory. git clone git://dpdk.org/apps/pktgen-dpdk

    Or, download from:

    http://git.dpdk.org/apps/pktgen-dpdk

  2. 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
    1. Download libpcap-devel from https://pkgs.org/download/libpcap-devel and install it: # rpm -ivh libpcap-devel*
  3. 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