Knowledge Base Article

Why does the Kernel Mode Network Device Driver of Multi Channel DMA IP for PCI Express* fail to be installed in CentOS 8?

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:

  1. Open  <workspace>/p0_software/kernel/driver/kmod/mcdma-netdev-driver/ifc_mcdma_pci.cmodify 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".
  2. Save and re-compile the driver.
Updated 3 months ago
Version 2.0
No CommentsBe the first to comment