igb_uio: switch to new irq function for MSI-X
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 20 Apr 2017 13:11:23 +0000 (15:11 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Apr 2017 13:31:41 +0000 (15:31 +0200)
commit99bb58f3adc73046b538874a0944578146ee1189
treedf929fba46c61148964abcef4a4001d34dc39ac1
parente4701c7a4eec9367819da0ea4ed8572310fe0832
igb_uio: switch to new irq function for MSI-X

pci_enable_msix() will be removed in kernel 4.12.
The new API pci_alloc_irq_vectors() is available
since linux 4.8, thus let's use it.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=aff171641d18
Link: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=4244de1c64de
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: David Marchand <david.marchand@6wind.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/linuxapp/igb_uio/compat.h
lib/librte_eal/linuxapp/igb_uio/igb_uio.c