From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760248AbcIMTvF (ORCPT ); Tue, 13 Sep 2016 15:51:05 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:6751 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756526AbcIMTvC (ORCPT ); Tue, 13 Sep 2016 15:51:02 -0400 From: Salil Mehta To: CC: , , , , , , , , Subject: [PATCH V2 for-next 0/9] IB/hns: Add CM(Connection Manager) Support to HNS RoCe Driver Date: Tue, 13 Sep 2016 20:49:21 +0100 Message-ID: <20160913194930.273964-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.47.141.149] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.57D858A2.01CC,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: c0858a8befea870dae1305c738e485c7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch-set adds the CM(Connection Manager) support to the HNS RoCE driver. Changes done are primarily to add support of APIs in IB device and some fixes over the base driver to support RDMA Connection Manager. This patch-set also updates the Device binding document as new parameter node-guid was added to the DT. All of the patches have been authored by Oulijun and reviewed by Huwei. Change Log: V1->V2: Addressed the comments from Leon Romanovsky. Please refer individual patch for details. Lijun Ou (9): IB/hns: Register HNS RoCE Driver get_netdev() with IB Core IB/hns: Add & initialize "node_guid" parameter for RDMA CM IB/hns: Fix the value of device_cap_flags IB/hns: Fix two possible bugs for rdma cm IB/hns: Add phy_port for computing GSI/QPN IB/hns: Change the logic for allocating uar registers IB/hns: Fix the bug of rdma cm connecting on user mode IB/hns: Fix two bugs for rdma cm connecting IB/hns: Add node_guid definition to the bindings document .../bindings/infiniband/hisilicon-hns-roce.txt | 2 + drivers/infiniband/hw/hns/hns_roce_device.h | 4 +- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 80 +++++++++------------- drivers/infiniband/hw/hns/hns_roce_main.c | 32 ++++++++- drivers/infiniband/hw/hns/hns_roce_pd.c | 4 +- drivers/infiniband/hw/hns/hns_roce_qp.c | 13 ++-- 6 files changed, 76 insertions(+), 59 deletions(-) -- 1.9.1