common/mlx5: fix HCA capabilities PRM alignment
authorRaja Zidane <rzidane@nvidia.com>
Thu, 28 Oct 2021 13:58:49 +0000 (13:58 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 8 Nov 2021 08:29:36 +0000 (09:29 +0100)
commit4b99fe057748a20dfc160cf7f585a60e707182ed
tree3d233063d55898208e27f8f53aa1b59843f16d40
parentd0152e1f1a4114bf2ed03e549222be09ea8a0dbb
common/mlx5: fix HCA capabilities PRM alignment

0x20 reserved bytes were missed in the HCA cap PRM structure before the
newly added fields for MMO QP capabilities.
That caused reading MMO QP caps incorrectly.
Add the reserved fields in the HCA cap structure.

Fixes: cbc4c13a255e ("common/mlx5: update MMO HCA capabilities")

Signed-off-by: Raja Zidane <rzidane@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_prm.h