From: Tonghao Zhang Date: Mon, 18 Sep 2017 07:46:57 +0000 (-0700) Subject: igb_uio: use UIO macro instead of hardcoded value X-Git-Tag: spdx-start~1714 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=071925527d4be34c6de879e29c5c1dd5eaa829cc;p=dpdk.git 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 --- diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c index b578c4a783..a440924bcc 100644 --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c +++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c @@ -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: