On 4/6/22 10:34 AM, Cheng Xu wrote:
Hello all,
<...>
Hello, Jason and Leon,
This v5 patchset has a compilation issue with the latest for-next
branch, due to "pci_dma_compat.h" was removed in kernel 5.18. And it
will have another compilation issue with the "device_cap_flags" [1], but
I didn't see the changes in for-next branch for now.
I will fix them together and send another patchset after the changes in
[1] are present in for-next branch.
[1]
https://lore.kernel.org/netdev/0-v2-22c19e565eef+139a-kern_caps_jgg@xxxxxxxxxx/
Thanks,
Cheng Xu
Cheng Xu (12):
RDMA: Add ERDMA to rdma_driver_id definition
RDMA/core: Allow calling query_port when netdev isn't attached in
iWarp
RDMA/erdma: Add the hardware related definitions
RDMA/erdma: Add main include file
RDMA/erdma: Add cmdq implementation
RDMA/erdma: Add event queue implementation
RDMA/erdma: Add verbs header file
RDMA/erdma: Add verbs implementation
RDMA/erdma: Add connection management (CM) support
RDMA/erdma: Add the erdma module
RDMA/erdma: Add the ABI definitions
RDMA/erdma: Add driver to kernel build environment
MAINTAINERS | 8 +
drivers/infiniband/Kconfig | 1 +
drivers/infiniband/core/device.c | 7 +-
drivers/infiniband/hw/Makefile | 1 +
drivers/infiniband/hw/erdma/Kconfig | 12 +
drivers/infiniband/hw/erdma/Makefile | 4 +
drivers/infiniband/hw/erdma/erdma.h | 288 ++++
drivers/infiniband/hw/erdma/erdma_cm.c | 1434 ++++++++++++++++++++
drivers/infiniband/hw/erdma/erdma_cm.h | 168 +++
drivers/infiniband/hw/erdma/erdma_cmdq.c | 497 +++++++
drivers/infiniband/hw/erdma/erdma_cq.c | 205 +++
drivers/infiniband/hw/erdma/erdma_eq.c | 334 +++++
drivers/infiniband/hw/erdma/erdma_hw.h | 504 +++++++
drivers/infiniband/hw/erdma/erdma_main.c | 631 +++++++++
drivers/infiniband/hw/erdma/erdma_qp.c | 564 ++++++++
drivers/infiniband/hw/erdma/erdma_verbs.c | 1454 +++++++++++++++++++++
drivers/infiniband/hw/erdma/erdma_verbs.h | 342 +++++
include/uapi/rdma/erdma-abi.h | 49 +
include/uapi/rdma/ib_user_ioctl_verbs.h | 1 +
19 files changed, 6503 insertions(+), 1 deletion(-)
create mode 100644 drivers/infiniband/hw/erdma/Kconfig
create mode 100644 drivers/infiniband/hw/erdma/Makefile
create mode 100644 drivers/infiniband/hw/erdma/erdma.h
create mode 100644 drivers/infiniband/hw/erdma/erdma_cm.c
create mode 100644 drivers/infiniband/hw/erdma/erdma_cm.h
create mode 100644 drivers/infiniband/hw/erdma/erdma_cmdq.c
create mode 100644 drivers/infiniband/hw/erdma/erdma_cq.c
create mode 100644 drivers/infiniband/hw/erdma/erdma_eq.c
create mode 100644 drivers/infiniband/hw/erdma/erdma_hw.h
create mode 100644 drivers/infiniband/hw/erdma/erdma_main.c
create mode 100644 drivers/infiniband/hw/erdma/erdma_qp.c
create mode 100644 drivers/infiniband/hw/erdma/erdma_verbs.c
create mode 100644 drivers/infiniband/hw/erdma/erdma_verbs.h
create mode 100644 include/uapi/rdma/erdma-abi.h