[dpdk-dev] igb_uio: use the UIO_IRQ_NONE instead of 0.
Checks
Commit Message
From: Tonghao Zhang <xiangxia.m.yue@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@gmail.com>
---
lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 9/18/2017 8:46 AM, nic at opencloud.tech (Tonghao Zhang) wrote:
> 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 <ferruh.yigit@intel.com>
On 10/6/2017 11:51 PM, Ferruh Yigit wrote:
> On 9/18/2017 8:46 AM, nic at opencloud.tech (Tonghao Zhang) wrote:
>> 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 <ferruh.yigit@intel.com>
Applied to dpdk/master, thanks.
@@ -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: