ubuntu 内核版本和驱动版本不一致 Linux 4.8 replaced it with pci_enable_msix_range. You can fix it like this: #if LINUX_VERSION_CODE < KERNEL_VERSION(4,8,0) rc = pci_enable_msix(pdev, lro->entry, req_nvec);#else rc = pci_enable_msix_range(pdev, lro->entry, req_nvec, req_nvec);#endif
|