From: Markus Theil Date: Tue, 5 Sep 2017 12:04:03 +0000 (+0200) Subject: igb_uio: fix MSI-X IRQ assignment with new IRQ function X-Git-Tag: spdx-start~1718 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d26fc87aa26953f97e6c93d07ee9cc1415e44e20;p=dpdk.git igb_uio: fix MSI-X IRQ assignment with new IRQ function The patch which introduced the usage of pci_alloc_irq_vectors came after the patch which switched to non-threaded ISR (f0d1896fa1), but did not use non-threaded ISR, if pci_alloc_irq_vectors is used. Fixes: 99bb58f3adc7 ("igb_uio: switch to new irq function for MSI-X") Cc: stable@dpdk.org Signed-off-by: Markus Theil Acked-by: Ferruh Yigit --- diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c index 93bb71d545..6885e72e00 100644 --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c +++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c @@ -331,6 +331,7 @@ igbuio_pci_enable_interrupts(struct rte_uio_pci_dev *udev) #else if (pci_alloc_irq_vectors(udev->pdev, 1, 1, PCI_IRQ_MSIX) == 1) { dev_dbg(&udev->pdev->dev, "using MSI-X"); + udev->info.irq_flags = IRQF_NO_THREAD; udev->info.irq = pci_irq_vector(udev->pdev, 0); udev->mode = RTE_INTR_MODE_MSIX; break;