Skip to content

Install DPDK

Harsh Gondaliya edited this page Sep 8, 2019 · 5 revisions

Steps

  1. To avoid any root user issues, log in as root.

    pc@SDCLAB04:~$ sudo -i

  2. After you have cloned this repository, change to the dpdk-stable-18.11.2 directory within the ovs-dpdk-with-tso parent directory.

    root@SDCLAB04:/usr/local/src# cd ovs-dpdk-with-tso/dpdk-stable-18.11.2/

  3. Install the libnuma-dev package as it is required for DPDK

    root@SDCLAB04:/usr/local/src/ovs-dpdk-with-tso/dpdk-stable-18.11.2# apt-get install libnuma-dev

  4. Install the DPDK Target Environment

    root@SDCLAB04:/usr/local/src/ovs-dpdk-with-tso/dpdk-stable-18.11.2# make install T=x86_64-native-linuxapp-gcc DESTDIR=install

  5. Check if the installation was successful and a directory named x86_64-native-linuxapp-gcc has been created within the dpdk-stable-18.11.2 parent directory.

    .....
    .....
    Build complete [x86_64-native-linuxapp-gcc]
    ================== Installing install/
    Installation in install/ complete
    root@SDCLAB04:/usr/local/src/ovs-dpdk-with-tso/dpdk-stable-18.11.2# cd x86_64-native-linuxapp-gcc/
    root@SDCLAB04:/usr/local/src/ovs-dpdk-with-tso/dpdk-stable-18.11.2/x86_64-native-linuxapp-gcc#
    

Now move on the installation steps at Install KVM-QEMU page.