numam-dpdk/lib/librte_eal
Ferruh Yigit 9fb3cd2c04 kni: fix ethtool build with kernel 4.11
build error:
.../lib/librte_eal/linuxapp/kni/igb_main.c:1034:10:
error: implicit declaration of function ‘pci_enable_msix’
    err = pci_enable_msix(pdev,
              ^~~~~~~~~~~~~~~

This build error observed when CONFIG_RTE_KNI_KMOD_ETHTOOL config option
enabled.

Following Linux commit removes the pci_enable_msix()
Linux: 4244de1c64de ("PCI: remove pci_enable_msix")

Switch to pci_enable_msix_range() for kernel > 4.8 since current Linux
igb driver uses this function.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
2017-05-05 15:42:12 +02:00
..
bsdapp config: make backtrace optional 2017-05-05 15:13:29 +02:00
common eal: optimize TSC routines when HPET is disabled 2017-05-05 15:38:42 +02:00
linuxapp kni: fix ethtool build with kernel 4.11 2017-05-05 15:42:12 +02:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00