]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx4/mlx4_glue.h
ethdev: make default behavior CRC strip on Rx
[dpdk.git] / drivers / net / mlx4 / mlx4_glue.h
index de251c622b029abbe3b8c43ef4b828a167231fbf..668ca867002f61c1efe81738dc7344e56fff49c4 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  * Copyright 2018 6WIND S.A.
- * Copyright 2018 Mellanox
+ * Copyright 2018 Mellanox Technologies, Ltd
  */
 
 #ifndef MLX4_GLUE_H_
 #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);