common/mlx5: replace alignas keyword
authorThomas Monjalon <thomas@monjalon.net>
Sun, 9 Feb 2020 12:00:22 +0000 (13:00 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 16 Apr 2020 16:07:30 +0000 (18:07 +0200)
commit6c9d13410be2b6d3b411ade55d1eafbcb7bef313
treed73c27a85c444577b2c313ffc5bd4dbaf9acbdf2
parentddf06e8a084c8e677a8a4b9eee6175f07010c1ab
common/mlx5: replace alignas keyword

The keyword alignas can be replaced with __rte_aligned macro
for consistency and allow compilers compatibility control.

The macro __rte_cache_aligned is a shortcut including __rte_aligned
and RTE_CACHE_LINE_SIZE constant.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
drivers/common/mlx5/mlx5_glue.c
drivers/common/mlx5/mlx5_nl.c