In order to keep the size and member order with the hns_roce_ib_create_qp sturcture of the kernel driver, it need to update hns_roce_create_qp's structure members. Otherwise, it will run fail. Signed-off-by: Lijun Ou <oulijun@xxxxxxxxxx> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@xxxxxxxxxx> --- providers/hns/hns_roce_u_abi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/providers/hns/hns_roce_u_abi.h b/providers/hns/hns_roce_u_abi.h index e78f967..276d29d 100644 --- a/providers/hns/hns_roce_u_abi.h +++ b/providers/hns/hns_roce_u_abi.h @@ -61,9 +61,10 @@ struct hns_roce_create_cq_resp { struct hns_roce_create_qp { struct ibv_create_qp ibv_cmd; __u64 buf_addr; + __u64 rsv; __u8 log_sq_bb_count; __u8 log_sq_stride; - __u8 reserved[5]; + __u8 reserved[6]; }; #endif /* _HNS_ROCE_U_ABI_H */ -- 1.9.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