net/i40e: revert enhancing loopback AQ command
[dpdk.git] / drivers / net / mlx4 / mlx4_glue.h
index 0623511..368f906 100644 (file)
@@ -6,6 +6,9 @@
 #ifndef MLX4_GLUE_H_
 #define MLX4_GLUE_H_
 
+#include <stddef.h>
+#include <stdint.h>
+
 /* Verbs headers do not support -pedantic. */
 #ifdef PEDANTIC
 #pragma GCC diagnostic ignored "-Wpedantic"
 #pragma GCC diagnostic error "-Wpedantic"
 #endif
 
+#ifndef MLX4_GLUE_VERSION
+#define MLX4_GLUE_VERSION ""
+#endif
+
+/* LIB_GLUE_VERSION must be updated every time this structure is modified. */
 struct mlx4_glue {
+       const char *version;
        int (*fork_init)(void);
        int (*get_async_event)(struct ibv_context *context,
                               struct ibv_async_event *event);