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
..
2017-05-01 00:16:36 +02:00
2017-05-05 14:38:35 +02:00
2017-05-05 14:38:17 +02:00
2017-04-21 01:22:59 +02:00
2017-04-21 02:15:29 +02:00
2017-04-21 01:29:21 +02:00
2017-04-05 23:03:23 +02:00