This series are splited from the patchset("Some hns bugfixes for 5.0-rc3"). Because these optimze and fix some codes as well as improve the operations security. Lijun Ou (1): RDMA/hns: Configure capacity of hns device Yixian Liu (3): RDMA/hns: Fix the state of rereg mr RDMA/hns: Set allocated memory to zero for wrid RDMA/hns: Delete unuseful prints for aeq subtype event chenglang (1): RDMA/hns: Limit minimum ROCE CQ depth to 64 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 61 +++++------------------------- drivers/infiniband/hw/hns/hns_roce_main.c | 5 +++ drivers/infiniband/hw/hns/hns_roce_qp.c | 8 ++-- 3 files changed, 19 insertions(+), 55 deletions(-) -- 1.9.1