There arm some cleanups and bugfix for hns driver: - Patch #1 ~ #5 are cleanups, include refactor, some newly added checks and fix for a comment. - Patch #6 ~ #9 are miscellaneous fixes. Previous discussion: v1: https://patchwork.kernel.org/cover/11761647/ Changes since v1: - Fix a missing assignment of owner_bit in set_rc_wqe() Jiaran Zhang (2): RDMA/hns: Add check for the validity of sl configuration RDMA/hns: Solve the overflow of the calc_pg_sz() Lang Cheng (2): RDMA/hns: Add type check in get/set hw field RDMA/hns: Correct typo of hns_roce_create_cq() Weihang Li (3): RDMA/hns: Refactor process about opcode in post_send() RDMA/hns: Fix configuration of ack_req_freq in QPC RDMA/hns: Fix missing sq_sig_type when querying QP Wenpeng Liang (1): RDMA/hns: Fix the wrong value of rnr_retry when querying qp Yangyang Li (1): RDMA/hns: Add interception for resizing SRQs drivers/infiniband/hw/hns/hns_roce_common.h | 14 ++- drivers/infiniband/hw/hns/hns_roce_cq.c | 2 +- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 177 ++++++++++++++++++---------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 2 + 4 files changed, 127 insertions(+), 68 deletions(-) -- 2.8.1