igb_uio: use UIO macro instead of hardcoded value

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@gmail.com>
This commit is contained in:
Tonghao Zhang 2017-09-18 00:46:57 -07:00 committed by Ferruh Yigit
parent 74da59da7f
commit 071925527d

View File

@ -358,7 +358,7 @@ igbuio_pci_enable_interrupts(struct rte_uio_pci_dev *udev)
/* 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: