]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx4/mlx4.h
net/mlx4: compact interrupt functions
[dpdk.git] / drivers / net / mlx4 / mlx4.h
index 47ea4099516a763a874fd9bf7fc8e2ca7cc833f3..a35a94e04bfff27d0eb2bb041931212e03edf52d 100644 (file)
 #pragma GCC diagnostic error "-Wpedantic"
 #endif
 
+#include <rte_ethdev.h>
+#include <rte_ether.h>
+#include <rte_interrupts.h>
+
 /* Request send completion once in every 64 sends, might be less. */
 #define MLX4_PMD_TX_PER_COMP_REQ 64
 
@@ -172,7 +176,6 @@ struct priv {
        struct rte_intr_handle intr_handle; /* Port interrupt handle. */
        struct rte_flow_drop *flow_drop_queue; /* Flow drop queue. */
        LIST_HEAD(mlx4_flows, rte_flow) flows;
-       struct rte_intr_conf intr_conf; /* Active interrupt configuration. */
 };
 
 #endif /* RTE_PMD_MLX4_H_ */