From: Raja Zidane Date: Thu, 28 Oct 2021 13:58:49 +0000 (+0000) Subject: common/mlx5: fix HCA capabilities PRM alignment X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4b99fe057748a20dfc160cf7f585a60e707182ed;p=dpdk.git 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 Acked-by: Matan Azrad --- diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm.h index 7896b94589..13959575e3 100644 --- a/drivers/common/mlx5/mlx5_prm.h +++ b/drivers/common/mlx5/mlx5_prm.h @@ -1653,7 +1653,7 @@ struct mlx5_ifc_cmd_hca_cap_bits { u8 num_vhca_ports[0x8]; u8 reserved_at_618[0x6]; u8 sw_owner_id[0x1]; - u8 reserved_at_61f[0x109]; + u8 reserved_at_61f[0x129]; u8 dma_mmo_qp[0x1]; u8 regexp_mmo_qp[0x1]; u8 compress_mmo_qp[0x1];