igb_uio: use the UIO_IRQ_NONE instead of 0.
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.
Signed-off-by Tonghao Zhang <[email protected]>
--- 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
@@ -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
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>
Acked-by Ferruh Yigit <[email protected]>
Ferruh Yigit
AppliedQuoted 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>Acked-by Ferruh Yigit <[email protected]>
Applied to dpdk/master, thanks.