Some drivers and devices(ex: igc + i225/i226) use
RTE_INTR_HANDLE_UIO handler when captured under igb_uio
so just let them use it.

Signed-off-by: Vladimir Ratnikov <vratni...@netgate.com>
---
 lib/eal/linux/eal_interrupts.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/eal/linux/eal_interrupts.c b/lib/eal/linux/eal_interrupts.c
index c9881143be..037db09cfd 100644
--- a/lib/eal/linux/eal_interrupts.c
+++ b/lib/eal/linux/eal_interrupts.c
@@ -1596,6 +1596,9 @@ rte_intr_cap_multiple(struct rte_intr_handle *intr_handle)
        if (rte_intr_type_get(intr_handle) == RTE_INTR_HANDLE_VDEV)
                return 1;
 
+       if (rte_intr_type_get(intr_handle) == RTE_INTR_HANDLE_UIO)
+               return 1;
+
        return 0;
 }
 
-- 
2.34.1

Reply via email to