This patchset adds RDMA loopback driver. Initially for RoCE which works on lo netdevice. It is tested with with nvme fabrics over ext4, perftests, and rping. It only supports RC and GSI QPs. It supports only RoCEv2 GIDs which belongs to loopback lo netdevice. It is only posted for discussion [1]. It is not yet ready for RFC posting or merge. Its counter part rdma-core will be posted shortly. [1] https://www.spinics.net/lists/linux-rdma/msg76285.html Parav Pandit (3): RDMA/loopback: Add helper lib for resources and cqe fifo RDMA/loopback: Loopback rdma (RoCE) driver RDMA/loopback: Support Fast memory registration drivers/infiniband/Kconfig | 1 + drivers/infiniband/sw/Makefile | 1 + drivers/infiniband/sw/loopback/Kconfig | 14 + drivers/infiniband/sw/loopback/Makefile | 4 + drivers/infiniband/sw/loopback/helper.c | 139 ++ drivers/infiniband/sw/loopback/loopback.c | 1690 ++++++++++++++++++++++ drivers/infiniband/sw/loopback/loopback_helper.h | 68 + include/uapi/rdma/rdma_user_ioctl_cmds.h | 1 + 8 files changed, 1918 insertions(+) create mode 100644 drivers/infiniband/sw/loopback/Kconfig create mode 100644 drivers/infiniband/sw/loopback/Makefile create mode 100644 drivers/infiniband/sw/loopback/helper.c create mode 100644 drivers/infiniband/sw/loopback/loopback.c create mode 100644 drivers/infiniband/sw/loopback/loopback_helper.h -- 1.8.3.1