regex/mlx5: fix memory rule alignment
authorOri Kam <orika@nvidia.com>
Thu, 7 Jan 2021 16:57:07 +0000 (18:57 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 19 Jan 2021 17:03:05 +0000 (18:03 +0100)
commit7e8b42e89aaa9217472fc2a3aa37718391ae08a5
tree0a38afa4f8a3af230bdb72ecf5d84d27adcd419b
parent7e9a0cae1399a06dbcbdc9e6e5a5cbdb14d80dee
regex/mlx5: fix memory rule alignment

Due to Kernel requirement the memory allocated must be aligned to 2M.

Fixes: b34d816363b5 ("regex/mlx5: support rules import")
Cc: stable@dpdk.org
Signed-off-by: Ori Kam <orika@nvidia.com>
drivers/regex/mlx5/mlx5_rxp.c