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
To work around this problem, modify source code of DPDK Poll Mode Driver according to the following steps:
- 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.
- 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' .
- Save and re-compile the driver.