Skip to contentSkip to conversation

igb_uio: use the UIO_IRQ_NONE instead of 0.

PATCH Applied Tonghao Zhang 2 participants 3 messages Sep 18, 2017 – Oct 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igb_uio: use the UIO_IRQ_NONE instead of 0.

From: Tonghao Zhang <[email protected]>

This is not bugfix, but it's convenient to help developer to review and maintain the igbuio codes.

---
 lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_eal/linuxapp/igb_uio/igb_uio.c +1 -1
index 07a19a3..bca22ee 100644
@@ -446,7 +446,7 @@ struct rte_uio_pci_dev {
 		/* fall back to no IRQ */
 	case RTE_INTR_MODE_NONE:
 		udev->mode = RTE_INTR_MODE_NONE;
-		udev->info.irq = 0;
+		udev->info.irq = UIO_IRQ_NONE;
 		break;
 
 	default:
Signature · 1 line
1.8.3.1
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · nic at opencloud.tech (Tonghao Zhang)

From: Tonghao Zhang <xiangxia.m.yue at gmail.com>

This is not bugfix, but it's convenient to help developer to review and maintain the igbuio codes.

Signed-off-by Tonghao Zhang <xiangxia.m.yue at gmail.com>
Applied
#2 lore raw
Quoted 9 lines · Ferruh Yigit
Quoted 6 lines · nic at opencloud.tech (Tonghao Zhang)

From: Tonghao Zhang <xiangxia.m.yue at gmail.com>

This is not bugfix, but it's convenient to help developer to review and maintain the igbuio codes.

Signed-off-by Tonghao Zhang <xiangxia.m.yue at gmail.com>

Applied to dpdk/master, thanks.