This series fix some places that don't match the IB protocol as well as optimize some codes. Change from V1: 1. Drop the unnecessary patch("[PATCH for-next 7/9] RDMA/hns: Prevent the gid overflow") Lijun Ou (8): RDMA/hns: Only assign the relatived fields of psn if IB_QP_SQ_PSN is set RDMA/hns: only assign the fields of rq' psn if IB_QP_RQ_PSN is set RDMA/hns: Update the range of raq_psn field of qp context RDMA/hns: Only assgin some fields if the relatived attr_mask is set RDMA/hns: Hide error print information with roce vf device RDMA/hns: Bugfix for sending with invalidate RDMA/hns: Remove the warning by checkpatch.pl RDMA/hns: Delete unused variable in hns_roce_v2_modify_qp function drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 286 +++++++++++++++-------------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 4 +- 2 files changed, 155 insertions(+), 135 deletions(-) -- 1.9.1