From: Cheng Xu <chengyou@linux.alibaba.com>
To: leon@kernel.org
Cc: dledford@redhat.com, jgg@mellanox.com,
linux-rdma@vger.kernel.org, KaiShen@linux.alibaba.com,
chengyou@linux.alibaba.com
Subject: [PATCH rdma-core 5/5] RDMA-CORE/erdma: Add to the build environment
Date: Fri, 24 Dec 2021 14:55:22 +0800 [thread overview]
Message-ID: <20211224065522.29734-6-chengyou@linux.alibaba.com> (raw)
In-Reply-To: <20211224065522.29734-1-chengyou@linux.alibaba.com>
Make the build system can build the provider, and add it to redhat package
environment.
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
---
CMakeLists.txt | 1 +
MAINTAINERS | 5 +++++
README.md | 1 +
| 2 ++
providers/erdma/CMakeLists.txt | 5 +++++
redhat/rdma-core.spec | 2 ++
6 files changed, 16 insertions(+)
create mode 100644 providers/erdma/CMakeLists.txt
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e9d1f463..4197ac19 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -668,6 +668,7 @@ add_subdirectory(providers/bnxt_re)
add_subdirectory(providers/cxgb4) # NO SPARSE
add_subdirectory(providers/efa)
add_subdirectory(providers/efa/man)
+add_subdirectory(providers/erdma)
add_subdirectory(providers/hns)
add_subdirectory(providers/irdma)
add_subdirectory(providers/mlx4)
diff --git a/MAINTAINERS b/MAINTAINERS
index 9fec1240..bbeddabb 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -61,6 +61,11 @@ M: Gal Pressman <galpress@amazon.com>
S: Supported
F: providers/efa/
+ERDMA USERSPACE PROVIDER (for erdma.ko)
+M: Cheng Xu <chengyou@linux.alibaba.com>
+S: Supported
+F: providers/erdma/
+
HF1 USERSPACE PROVIDER (for hf1.ko)
M: Mike Marciniszyn <mike.marciniszyn@intel.com>
M: Dennis Dalessandro <dennis.dalessandro@intel.com>
diff --git a/README.md b/README.md
index 18c3b014..ebb941e2 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,7 @@ under the providers/ directory. Support for the following Kernel RDMA drivers
is included:
- efa.ko
+ - erdma.ko
- iw_cxgb4.ko
- hfi1.ko
- hns-roce.ko
--git a/kernel-headers/CMakeLists.txt b/kernel-headers/CMakeLists.txt
index 580582c1..997cc96b 100644
--- a/kernel-headers/CMakeLists.txt
+++ b/kernel-headers/CMakeLists.txt
@@ -23,6 +23,7 @@ publish_internal_headers(rdma
rdma/rdma_user_rxe.h
rdma/rvt-abi.h
rdma/siw-abi.h
+ rdma/erdma-abi.h
rdma/vmw_pvrdma-abi.h
)
@@ -75,6 +76,7 @@ rdma_kernel_provider_abi(
rdma/qedr-abi.h
rdma/rdma_user_rxe.h
rdma/siw-abi.h
+ rdma/erdma-abi.h
rdma/vmw_pvrdma-abi.h
)
diff --git a/providers/erdma/CMakeLists.txt b/providers/erdma/CMakeLists.txt
new file mode 100644
index 00000000..65e63b33
--- /dev/null
+++ b/providers/erdma/CMakeLists.txt
@@ -0,0 +1,5 @@
+rdma_provider(erdma
+ erdma.c
+ erdma_db.c
+ erdma_verbs.c
+)
\ No newline at end of file
diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec
index 754ac3d3..950e299c 100644
--- a/redhat/rdma-core.spec
+++ b/redhat/rdma-core.spec
@@ -148,6 +148,8 @@ Provides: libcxgb4 = %{version}-%{release}
Obsoletes: libcxgb4 < %{version}-%{release}
Provides: libefa = %{version}-%{release}
Obsoletes: libefa < %{version}-%{release}
+Provides: liberdma = %{version}-%{release}
+Obsoletes: liberdma < %{version}-%{release}
Provides: libhfi1 = %{version}-%{release}
Obsoletes: libhfi1 < %{version}-%{release}
Provides: libipathverbs = %{version}-%{release}
--
2.27.0
prev parent reply other threads:[~2021-12-24 6:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-24 6:55 [PATCH rdma-core 0/5] Elastic RDMA Adapter (ERDMA) userspace provider driver Cheng Xu
2021-12-24 6:55 ` [PATCH rdma-core 1/5] RDMA-CORE/erdma: Add userspace verbs related header files Cheng Xu
2021-12-27 5:48 ` Devesh Sharma
2021-12-27 6:46 ` Cheng Xu
2022-01-03 23:52 ` Jason Gunthorpe
2022-01-05 1:55 ` Cheng Xu
2021-12-24 6:55 ` [PATCH rdma-core 2/5] RDMA-CORE/erdma: Add userspace verbs implementation Cheng Xu
2021-12-27 6:29 ` Devesh Sharma
2021-12-27 7:59 ` Cheng Xu
2021-12-28 12:17 ` [External] : " Devesh Sharma
2021-12-24 6:55 ` [PATCH rdma-core 3/5] RDMA-CORE/erdma: Add the main module of the provider Cheng Xu
2021-12-24 6:55 ` [PATCH rdma-core 4/5] RDMA-CORE/erdma: Add the application interface Cheng Xu
2021-12-24 6:55 ` Cheng Xu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211224065522.29734-6-chengyou@linux.alibaba.com \
--to=chengyou@linux.alibaba.com \
--cc=KaiShen@linux.alibaba.com \
--cc=dledford@redhat.com \
--cc=jgg@mellanox.com \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.