Multi Channel DMA Intel® FPGA IP for PCI Express* Design Example User Guide

ID 683517
Date 6/09/2025
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.5.9.1.2. Bind the Device

  1. Install the UIO base module.

    $ sudo modprobe uio

  2. Install uio_igb:

    $ sudo insmod ./kernel/linux/igb_uio/igb_uio.ko

  3. Driver binding:
    • To bind the PCIe endpoint device to the UIO Linux kernel driver, run the following commands:
      $ cd ../../
      $ sudo dpdk-stable/usertools/dpdk-devbind.py -b igb_uio <BDF>
      

      Example:

      $ sudo dpdk-stable/usertools/dpdk-devbind.py \
      -b igb_uio 01:00.0
    • To unbind the PCIe endpoint device from the UIO Linux kernel driver, run the following commands:

      $ echo <BDF> | sudo tee /sys/bus/pci/devices/<BDF>/driver/unbind

      Example:

      $ echo 0000:98:00.0 | sudo tee /sys/bus/pci/devices/0000:98:00.0/driver/unbind