]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h
eal: query multi-vector interrupt capability
[dpdk.git] / lib / librte_eal / linuxapp / eal / include / exec-env / rte_interrupts.h
index b44e69cc83e4448bfeb32a59559cc66598fab8c6..3dacbff88c6e6e1264e2cf637c1201497ed5e92e 100644 (file)
@@ -215,4 +215,14 @@ rte_intr_dp_is_en(struct rte_intr_handle *intr_handle);
 int
 rte_intr_allow_others(struct rte_intr_handle *intr_handle);
 
+/**
+ * The multiple interrupt vector capability of interrupt handle instance.
+ * It returns zero if no multiple interrupt vector support.
+ *
+ * @param intr_handle
+ *   Pointer to the interrupt handle.
+ */
+int
+rte_intr_cap_multiple(struct rte_intr_handle *intr_handle);
+
 #endif /* _RTE_LINUXAPP_INTERRUPTS_H_ */