Re: [PATCH v7 5/6] igb_uio: use kernel functions for masking MSI-X
From: Ferruh Yigit <hidden>
Date: 2017-10-13 00:28:39
On 10/12/2017 10:15 PM, Stephen Hemminger wrote:
Are the symbols exported?
No! They started to be exported in v4.5. I will update accordingly. Thanks, ferruh
On Oct 12, 2017 13:58, "Ferruh Yigit" <ferruh.yigit@intel.com
<mailto:ferruh.yigit@intel.com>> wrote:
On 10/12/2017 11:50 AM, Kavanagh, Mark B wrote:
> Hi,
>
> This commit renders igb_uio unusable on Fedora 20, kernel version
3.19.8-100.fc20.x86_64.
>
> During the build (make -j 20), a warning is issued for igb_uio
regarding a missing symbol (pci_msi_unmask):
> WARNING: "pci_msi_unmask_irq"
[/home/<redacted>/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko]
undefined!
> WARNING: "pci_msi_mask_irq"
[/home/<redacted>/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko]
undefined!
>
Hi Mark,
I can see vanilla 3.19.8 has pci_msi_unmask_irq and pci_msi_mask_irq.
Also I checked Fedora 3.19.8-100.fc20.x86_64 source code, they are still
there.
Not sure why getting this error.
> Subsequently, the module is may not be loaded on account of same.
> (from dmesg):
> [673425.712110] igb_uio: Unknown symbol pci_msi_unmask_irq
(err 0)
> [673425.712124] igb_uio: Unknown symbol pci_msi_mask_irq (err 0)
>
> Thanks,
> Mark