Compiling and Installing OVS with the Napatech Modifications

Getting Started with Napatech Link-Virtualization™ Software

Platform
Napatech SmartNIC
Content Type
Getting Started
Getting Started Guide
Capture Software Version
Link-Virtualization™ Software 4.5

Build and install OVS with the Napatech modifications.

About this task

This describes commands to build, install OVS and verify the installation.

Procedure

  1. Locate the OVS folder in the unpacked Link-Virtualization™ Software package directory and change to that directory.
    For example:
    cd <package_root_directory>/ovs-hwaccel/ovs-hwaccel-<version>
    where:
    • package_root_directory is the path to the unpacked Napatech package
    • version is the version identifier of the included OVS package
  2. Compile and install OVS.
    ./boot.sh
    ./configure --with-dpdk=shared CFLAGS="-Ofast \
    -DALLOW_EXPERIMENTAL_API -msse4.2 -mpopcnt -march=native"
    
    make
    make install
    
  3. Verify that the OVS package is installed.
    which ovsdb-tool
    The default OVS installation directory is /usr/local/bin/.
    An output example:
    /usr/local/bin/ovsdb-tool