Article ID: 000098503 Content Type: Troubleshooting Last Reviewed: 05/31/2024

Why does DPDK Poll Mode Driver of Multi Channel DMA FPGA IP for PCI Express* fail to be installed in CentOS 8?

Environment

  • Intel® Quartus® Prime Pro Edition
  • CentOS 8

    BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    Why does the DPDK Poll Mode Driver of Multi Channel DMA FPGA IP for PCI Express* fail to install in CentOS 8?

    Due to a problem in DPDK Poll Mode Driver of Multi Channel DMA FPGA IP for PCI Express, you might observe following error messages when installing it in CentOS 8.

    ./include/linux/dev_printk.h:148:24: error: this statement may fall through [-Werror=implicit-fallthrough=]
      dev_printk_index_wrap(_dev_notice, KERN_NOTICE, dev, dev_fmt(fmt), ##__VA_ARGS__)
                            ^
    /p0_software/dpdk/dpdk/patches/v20.05-rc1/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.c:447:3: note: in expansion of macro ‘dev_notice’
       dev_notice(&udev->pdev->dev, "PCI INTX mask not supported\n");
       ^
    /home/cxl_meb/h_mcdma/p0_software/dpdk/dpdk/patches/v20.05-rc1/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.c:449:2: note: here
      case RTE_INTR_MODE_NONE:
      ^
    /p0_software/dpdk/dpdk/patches/v20.05-rc1/dpdk/drivers/vdpa/ifc/base/ifcvf.h:16: error: "VIRTIO_F_IOMMU_
    #define VIRTIO_F_IOMMU_PLATFORM  33

    Resolution

    To work around this problem, modify source code of DPDK Poll Mode Driver according to the following steps:

    1. Open  <workspace>/p0_software/dpdk/dpdk/patches/v20.05-rc1/dpdk/x86_64-native-linuxapp-gcc/build/kernel/linux/igb_uio/igb_uio.c,  add  ' break;' to each case in the function ' igbuio_pci_enable_msix_interrupts' if it is missed.
    2. Open  <workspace>/p0_software/dpdk/dpdk/patches/v20.05-rc1/dpdk/drivers/vdpa/ifc/base/ifcvf.h, comment out  'define VIRTIO_F_IOMMU_PLATFORM 33' .
    3. Save and re-compile the driver.

     

    Related Products

    This article applies to 2 products

    Intel Agilex® 7 FPGAs and SoC FPGAs
    Stratix® FPGAs