[dpdk-dev] [igb_uio PATCH 0/3] igb_uio: fixed typos and pci lock/unlock calls

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jul 24 23:50:43 CEST 2014


2014-07-22 15:07, Thomas Monjalon:
> The compilation with old kernels should be fixed now.
> If some distributions have backported the new PCI config locking functions,
> the compilation may fail. Please report such errors.

Compilation with RHEL6 is broken because of some backported functions,
some unknown MSIX values and some MSI functions missing.

include/linux/pci.h:1572: note: previous declaration of ‘pci_num_vf’ was here
include/linux/pci.h:868: note: previous declaration of ‘pci_intx_mask_supported’ was here
include/linux/pci.h:869: note: previous declaration of ‘pci_check_and_mask_intx’ was here
igb_uio.c:294: error: ‘PCI_MSIX_ENTRY_SIZE’ undeclared (first use in this function)
igb_uio.c:295: error: ‘PCI_MSIX_ENTRY_VECTOR_CTRL’ undeclared (first use in this function)
igb_uio.c:298: error: ‘PCI_MSIX_ENTRY_CTRL_MASKBIT’ undeclared (first use in this function)
igb_uio.c:312: error: implicit declaration of function ‘irq_data_get_msi’
igb_uio.c:350: error: implicit declaration of function ‘irq_get_irq_data’

If someone has time to fix it, patch is welcome.

Thanks
-- 
Thomas


More information about the dev mailing list