Description
Due to a problem in the DPDK Poll Mode Driver of Multi Channel DMA IP for PCI Express, you might observe the following error messages when installing it in CentOS 8.
alloc_netdev: Unable to allocate device with zero queues
netdev no memory: probe failed
Invalid PCI device Context
ifc_mcdma_netdev: probe of 0000:38:00.0 failed with error -12
Resolution
To work around this problem, modify the source code of the Kernel Mode Network Device Driver according to the following steps:
- Open <workspace>/p0_software/kernel/driver/kmod/mcdma-netdev-driver/ifc_mcdma_pci.c, modify code from "tot_chn = ifc_mcdma_get_chnl_number(&dev_ctx_temp->pctx,pdev->is_physfn);" to "tot_chn = ifc_mcdma_get_chnl_number(&dev_ctx_temp->pctx,!pdev->is_virtfn);" in function "ifc_mcdma_probe".
- Save and re-compile the driver.