[PATCH V3 for-next 0/9] IB/hns: Add CM(Connection Manager) Support to HNS RoCe Driver

From: Salil Mehta
Date: Thu Sep 15 2016 - 18:49:21 EST


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:
V2->V3: Fixed the compilation break reported by kbuild
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 | 5 +-
drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 82 +++++++++-------------
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 | 14 ++--
6 files changed, 77 insertions(+), 62 deletions(-)

--
1.9.1