[PULL][Bionic] RDMA/hns updates

dann frazier dann.frazier at canonical.com
Tue Apr 10 16:29:48 UTC 2018


BugLink: https://bugs.launchpad.net/bugs/1762755
BugLink: https://bugs.launchpad.net/bugs/1762757

Fixe a bug with our existing RDMA/hns backport and also add rq/cq
record doorbell support. All clean cherry-picks.

The following changes since commit 796de0db627ff135b5e72b1e6478ae1f02dceeb4:

  powerpc/64s: Wire up cpu_show_spectre_v2() (2018-04-09 16:04:06 -0500)

are available in the Git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux rdma-hns-bionic

for you to fetch changes up to 7461cd92c6433052c3e5a3c83799f7b5ccb22c67:

  RDMA/hns: ensure for-loop actually iterates and free's buffers (2018-04-10 09:26:03 -0600)

----------------------------------------------------------------
Colin Ian King (1):
      RDMA/hns: ensure for-loop actually iterates and free's buffers

Yixian Liu (7):
      RDMA/hns: Support rq record doorbell for the user space
      RDMA/hns: Support cq record doorbell for the user space
      RDMA/hns: Support rq record doorbell for kernel space
      RDMA/hns: Support cq record doorbell for kernel space
      RDMA/hns: Fix cqn type and init resp
      RDMA/hns: Fix init resp when alloc ucontext
      RDMA/hns: Fix cq record doorbell enable in kernel

oulijun (1):
      RDMA/hns: Fix the endian problem for hns

 drivers/infiniband/hw/hns/Makefile          |   2 +-
 drivers/infiniband/hw/hns/hns_roce_common.h |   6 +-
 drivers/infiniband/hw/hns/hns_roce_cq.c     |  54 +++++-
 drivers/infiniband/hw/hns/hns_roce_db.c     | 180 +++++++++++++++++
 drivers/infiniband/hw/hns/hns_roce_device.h |  61 +++++-
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c  |  60 ++++--
 drivers/infiniband/hw/hns/hns_roce_hw_v1.h  | 258 ++++++++++++-------------
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 124 +++++++-----
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  | 286 ++++++++++++++--------------
 drivers/infiniband/hw/hns/hns_roce_main.c   |  14 +-
 drivers/infiniband/hw/hns/hns_roce_qp.c     |  88 +++++++--
 include/uapi/rdma/hns-abi.h                 |  11 ++
 12 files changed, 780 insertions(+), 364 deletions(-)
 create mode 100644 drivers/infiniband/hw/hns/hns_roce_db.c




More information about the kernel-team mailing list