Visible to Intel only — GUID: tqh1680011200542
Ixiasoft
3.5.2.5.1. Build and Install Netdev Driver
3.5.2.5.2. Enable VFs if SRIOV is Supported
3.5.2.5.3. Configure the Number of Channels Supported on the Device
3.5.2.5.4. Configure the MTU Value
3.5.2.5.5. Configure the Device Communication
3.5.2.5.6. Configure Transmit Queue Selection Mechanism
3.5.2.5.7. Test Procedure by Using Name Space Environment
3.5.2.5.8. PIO Test
Visible to Intel only — GUID: tqh1680011200542
Ixiasoft
3.5.2.4.3. Install PMD and Test Application (for Ubuntu)
Note: You must ensure that meson utility and elf utility are installed on the system before building DPDK v21.11.2. If not installed, use commands "sudo apt install meson" and "sudo apt install python3-pyelftools".
- Execute patch script from v21.11.2 directory
#cd software/dpdk/dpdk/patches/v21.11.2/
#sh ./apply-patch.sh
- Configure and build dpdk
#cd software/dpdk/dpdk/patches/v21.11.2/dpdk-stable
#meson build #DESTDIR=install ninja -C build install
#cd build
- Build igb_uio kernel driver and mcdma-test/perfq app
#meson configure -Dexamples=mcdma-test/perfq -Denable_kmods=true #ninja
- Install uio_igb or vfio:
insmod dpdk-stable/build/kernel/linux/igb_uio/igb_uio
- To bind the driver:
dpdk-stable/usertools/dpdk-devbind.py -b igb_uio <BDF>
ORdpdk-stable/usertools/dpdk-devbind.py -b vfio-pci <BDF>
Example:dpdk-stable/usertools/dpdk-devbind.py -b vfio-pci 01:00.0
To unbind the driver:echo <BDF> > sys/bus/pci/devices/<BDF>/driver/unbind
Exampleecho 0000:01:00.0 > /sys/bus/pci/devices/0000:01:00.0/driver/unbind
-
cd examples/mcdma-test/perfq