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

Configuration Guide

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

Binding and Unbinding Network Ports

  1. The dpdk-devbind utility may be accessed and run through /usr/local/bin or through the usertools directory in the top-level DPDK directory: /usr/local/bin/dpdk-devbind.py

    or

    ./dpdk-stable-22.11.0/usertools/dpdk-devbind.py

    To display available devices, run the following command:

    ./dpdk-devbind.py -s

    or

    ./dpdk-devbind.py –status
  2. If a device is in use, it will be listed as *Active*. In this state, the interface cannot be unbound. To change the state to inactive, bring down the interface. Then, the port is free to bind to the desired module.

    ifdown ethX

    or

    ip link set dev ethX down

    To make the interface available to DPDK, bind it to vfio-pci. In the following steps, <B:D.F> is the Bus Device Function (BDF) number of the ethX interface. The BDF number can be found using various Linux commands or the get_​config.sh.

    Unbind from previous module or driver:

    ./dpdk-devbind.py -u <B:D.F>

    Bind to vfio-pci for use by DPDK:

    ./dpdk-devbind.py -b vfio-pci <B:D.F>

    Or bind to ice for use by kernel driver:

    ./dpdk-devbind.py -b ice <B:D.F>