]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h
eal: query multi-vector interrupt capability
[dpdk.git] / lib / librte_eal / bsdapp / eal / include / exec-env / rte_interrupts.h
index 3d138bf5fce01de510212649df4e289905ee2a1b..70a7087362e496a608953ae46db7b4359a055c58 100644 (file)
@@ -122,4 +122,14 @@ int 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_BSDAPP_INTERRUPTS_H_ */