X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fmlx5%2Fmlx5_glue.c;h=84f9492a7b8bbfe3946331f528928bc0bfcd1e28;hb=15dfc1ecb39f921cac3c5d61e77cd51fa3c1eb23;hp=c7965e51fe3ebb81c8efbcca23b4cf70bbb13d05;hpb=18bee130968a90292cb18730022ddf12d52120f9;p=dpdk.git diff --git a/drivers/net/mlx5/mlx5_glue.c b/drivers/net/mlx5/mlx5_glue.c index c7965e51fe..84f9492a7b 100644 --- a/drivers/net/mlx5/mlx5_glue.c +++ b/drivers/net/mlx5/mlx5_glue.c @@ -4,6 +4,7 @@ */ #include +#include #include #include @@ -23,6 +24,8 @@ #pragma GCC diagnostic error "-Wpedantic" #endif +#include + #include "mlx5_autoconf.h" #include "mlx5_glue.h" @@ -343,6 +346,7 @@ mlx5_glue_dv_create_qp(struct ibv_context *context, #endif } +alignas(RTE_CACHE_LINE_SIZE) const struct mlx5_glue *mlx5_glue = &(const struct mlx5_glue){ .version = MLX5_GLUE_VERSION, .fork_init = mlx5_glue_fork_init,