net/mlx5: fix DevX Rx queue memory alignment
authorMatan Azrad <matan@mellanox.com>
Mon, 29 Jul 2019 11:53:26 +0000 (11:53 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jul 2019 14:54:27 +0000 (16:54 +0200)
commit18a68e046b511a1fc2424f20387332990bc7338b
treef3fdabe381bc4f62ffb5c0ba5ef3f8ef65cf76e7
parentbd41389e35ee3ed29cdee851efc8433f151e5928
net/mlx5: fix DevX Rx queue memory alignment

The alignment requested by the FW for WQ buffer allocation is 512.

Change it from cache line alignment to 512.

Fixes: dc9ceff73c99 ("net/mlx5: create advanced RxQ via DevX")

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_prm.h
drivers/net/mlx5/mlx5_rxq.c