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:
parent
74da59da7f
commit
071925527d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user