From: Ariel Levkovich <lariel@xxxxxxxxxxxx> This fix adjusts the sl_vid fields size in struct mlx4_cqe to be 16 bit. Fixes: 9a90176880 ("Add support for 64B CQEs") Signed-off-by: Ariel Levkovich <lariel@xxxxxxxxxxxx> Acked-by: Yishai Hadas <yishaih@xxxxxxxxxxxx> --- providers/mlx4/mlx4.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/providers/mlx4/mlx4.h b/providers/mlx4/mlx4.h index 788e9fe..28ed197 100644 --- a/providers/mlx4/mlx4.h +++ b/providers/mlx4/mlx4.h @@ -265,8 +265,7 @@ struct mlx4_cqe { uint32_t vlan_my_qpn; uint32_t immed_rss_invalid; uint32_t g_mlpath_rqpn; - uint8_t sl_vid; - uint8_t reserved1; + uint16_t sl_vid; uint16_t rlid; uint32_t status; uint32_t byte_cnt; -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html