On 2021/3/3 20:41, Leon Romanovsky wrote: > On Tue, Mar 02, 2021 at 08:48:18PM +0800, Weihang Li wrote: >> From: Wenpeng Liang <liangwenpeng@xxxxxxxxxx> >> >> The HIP09 supports XRC transport service, it greatly saves the number of >> QPs required to connect all processes in a large cluster. >> >> Signed-off-by: Wenpeng Liang <liangwenpeng@xxxxxxxxxx> >> Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx> >> --- >> drivers/infiniband/hw/hns/hns_roce_alloc.c | 3 + >> drivers/infiniband/hw/hns/hns_roce_device.h | 25 +++++ >> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 147 +++++++++++++++++++--------- >> drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 2 + >> drivers/infiniband/hw/hns/hns_roce_main.c | 32 +++++- >> drivers/infiniband/hw/hns/hns_roce_pd.c | 51 ++++++++++ >> drivers/infiniband/hw/hns/hns_roce_qp.c | 63 ++++++++---- >> drivers/infiniband/hw/hns/hns_roce_srq.c | 3 + >> include/uapi/rdma/hns-abi.h | 2 + >> 9 files changed, 258 insertions(+), 70 deletions(-) > > <...> > >> + u32 xrcdn; > > <...> > >> + unsigned long xrcdn; > > Can you use the same type (u32) in all structs, please? > > Thanks > Thank you, I will fix it. Weihang