[dpdk-stable] patch 'igb_uio: fix MSI-X IRQ assignment with new IRQ function' has been queued to LTS release 16.11.5
Luca Boccassi
bluca at debian.org
Sun Feb 11 13:49:11 CET 2018
Hi,
FYI, your patch has been queued to LTS release 16.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/13/18. So please
shout if anyone has objections.
Thanks.
Luca Boccassi
---
>From 12072d9c907386f5c0030e8c82026da818e5ab2c Mon Sep 17 00:00:00 2001
From: Markus Theil <markus.theil at tu-ilmenau.de>
Date: Tue, 5 Sep 2017 14:04:03 +0200
Subject: [PATCH] igb_uio: fix MSI-X IRQ assignment with new IRQ function
[ backported from upstream commit d26fc87aa26953f97e6c93d07ee9cc1415e44e20 ]
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 at dpdk.org
Signed-off-by: Markus Theil <markus.theil at tu-ilmenau.de>
Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
index b6406d861..9f00f07ab 100644
--- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
+++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
@@ -392,6 +392,7 @@ igbuio_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
#else
if (pci_alloc_irq_vectors(dev, 1, 1, PCI_IRQ_MSIX) == 1) {
dev_dbg(&dev->dev, "using MSI-X");
+ udev->info.irq_flags = IRQF_NO_THREAD;
udev->info.irq = pci_irq_vector(dev, 0);
udev->mode = RTE_INTR_MODE_MSIX;
break;
--
2.14.2
More information about the stable
mailing list