From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752340AbdI2OmW (ORCPT ); Fri, 29 Sep 2017 10:42:22 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:7481 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752161AbdI2OmR (ORCPT ); Fri, 29 Sep 2017 10:42:17 -0400 From: "Wei Hu (Xavier)" To: CC: , , , , , , , , , , Subject: [PATCH V2 for-next 0/8] Bug fixes & Code improvements in hip06 and hip08 RoCE driver Date: Fri, 29 Sep 2017 23:10:06 +0800 Message-ID: <1506697814-98432-1-git-send-email-xavier.huwei@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.59CE5BC7.005B,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: d001c2394902ecf4b1d5e2ba14ca7eb4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch-set introduces some bug fixes and code improvements for hip06 and hip08 RoCE driver. It includes a patch for fixing the assign algorithm of qp_attr->max_rd_atomic and qp_attr->max_dest_rd_atomic, three patches for static check errors, one for setting attr mask, one for returning RoCE device ah_attr type when querying qp, one for unregistering inet addr, and the last one for command queue delay processing in hip08 driver. Lijun Ou (6): RDMA/hns: Modify the value with rd&dest_rd of qp_attr RDMA/hns: Factor out the code for checking sdb status into a new function RDMA/hns: Set mask for destination qp field of qp context assignment RDMA/hns: Set rdma_ah_attr type for querying qp RDMA/hns: Remove unnecessarily calling unregister_inetaddr_notifier function RDMA/hns: Replace usleep_range with udelay when checking command status Wei Hu (Xavier) (2): RDMA/hns: Add return statement when kzalloc return NULL in hns_roce_v1_recreate_lp_qp RDMA/hns: Add return statement when checking error in hns_roce_v1_mr_free_work_fn drivers/infiniband/hw/hns/hns_roce_device.h | 3 +- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 131 +++++++++++++++++----------- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 9 +- drivers/infiniband/hw/hns/hns_roce_main.c | 18 ++-- 4 files changed, 96 insertions(+), 65 deletions(-) -- 1.9.1