GTS AXI Multichannel DMA IP for PCI Express* User Guide

ID 847470
Date 8/25/2025
Public
Document Table of Contents

6.3.6.1.3. Enable Virtual Function

When the SR-IOV feature is enabled in the IP for the design example generation, the virtual functions can be enabled in the host system for the tests outlined in the subsequent sections, except for the External Descriptor Controller design example variant. This step can be bypassed if you do not intend to test the virtual function.

Here is the command to enable the VF for testing:

$echo <num_of_vfs> | sudo tee /sys/bus/pci/devices/<bdf>/sriov_numvfs

For example: Enable 4 VFs on 0000:01:00.0

echo 4 | sudo tee /sys/bus/pci/devices/0000\:98\:00.0/sriov_numvfs

After enabling the virtual function, you must bind the virtual device to the UIO Linux kernel driver before you can test it with DPDK applications in the subsequent sections.