net/mlx5: add VLAN push/pop DR commands to glue
[dpdk.git] / drivers / net / mlx4 / mlx4_glue.c
index 30797bd..67b3bfa 100644 (file)
@@ -1,8 +1,11 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  * Copyright 2018 6WIND S.A.
- * Copyright 2018 Mellanox
+ * Copyright 2018 Mellanox Technologies, Ltd
  */
 
+#include <stddef.h>
+#include <stdint.h>
+
 /* Verbs headers do not support -pedantic. */
 #ifdef PEDANTIC
 #pragma GCC diagnostic ignored "-Wpedantic"
@@ -237,6 +240,7 @@ mlx4_glue_dv_set_context_attr(struct ibv_context *context,
 }
 
 const struct mlx4_glue *mlx4_glue = &(const struct mlx4_glue){
+       .version = MLX4_GLUE_VERSION,
        .fork_init = mlx4_glue_fork_init,
        .get_async_event = mlx4_glue_get_async_event,
        .ack_async_event = mlx4_glue_ack_async_event,