[RFC][groovy][PATCH 0/1] UBUNTU: SAUCE: RDMA/core: Introduce peer memory interface

dann frazier dann.frazier at canonical.com
Thu Jun 24 19:36:57 UTC 2021


This is a backport of a SAUCE patch we're already carrying in hirsute[*].
In a conversation w/ Terry, he mentioned that he'd like to see some amount
of real world functional testing be completed before we'd consider SRU'ing
to other kernels. That testing will take some scheduling/engineering effort
so, in order to minimize the risk of respins/retests, I'm submitting this as
an RFC. My goal here is to try and fish out any aspects of this patch that
are likely to get NAK'd - even if testing were to pass.

I have smoke tested it against the groovy kernel, using the code here:
  https://paste.ubuntu.com/p/P7BYmjnSSf/

 -dann

[*] https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/hirsute/commit/?id=e9eb90eb5e4a5aef6f516abbc720038fc0d1a139

Jason Gunthorpe (1):
  UBUNTU: SAUCE: RDMA/core: Introduce peer memory interface

 drivers/infiniband/core/Makefile      |   2 +-
 drivers/infiniband/core/ib_peer_mem.h |  52 +++
 drivers/infiniband/core/peer_mem.c    | 508 ++++++++++++++++++++++++++
 drivers/infiniband/core/umem.c        |  45 ++-
 drivers/infiniband/hw/mlx5/cq.c       |  12 +-
 drivers/infiniband/hw/mlx5/devx.c     |   2 +-
 drivers/infiniband/hw/mlx5/doorbell.c |   5 +-
 drivers/infiniband/hw/mlx5/mem.c      |  11 +-
 drivers/infiniband/hw/mlx5/mr.c       |  46 ++-
 drivers/infiniband/hw/mlx5/qp.c       |   2 +-
 drivers/infiniband/hw/mlx5/srq.c      |   2 +-
 include/rdma/ib_umem.h                |  27 ++
 include/rdma/peer_mem.h               | 165 +++++++++
 13 files changed, 851 insertions(+), 28 deletions(-)
 create mode 100644 drivers/infiniband/core/ib_peer_mem.h
 create mode 100644 drivers/infiniband/core/peer_mem.c
 create mode 100644 include/rdma/peer_mem.h

-- 
2.32.0




More information about the kernel-team mailing list