Skip to content

Commit

Permalink
providers/erdma: Add to the build environment
Browse files Browse the repository at this point in the history
Make the build system can build the provider, and add erdma to redhat package
environment.

Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
  • Loading branch information
hz-cheng committed Aug 4, 2022
1 parent e31e9dd commit cdda3f8
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,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)
Expand Down
5 changes: 5 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -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: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
S: Supported
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions kernel-headers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ rdma_kernel_provider_abi(
rdma/bnxt_re-abi.h
rdma/cxgb4-abi.h
rdma/efa-abi.h
rdma/erdma-abi.h
rdma/hns-abi.h
rdma/ib_user_verbs.h
rdma/irdma-abi.h
Expand Down
5 changes: 5 additions & 0 deletions providers/erdma/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rdma_provider(erdma
erdma.c
erdma_db.c
erdma_verbs.c
)
3 changes: 3 additions & 0 deletions redhat/rdma-core.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -176,6 +178,7 @@ Device-specific plug-in ibverbs userspace drivers are included:

- libcxgb4: Chelsio T4 iWARP HCA
- libefa: Amazon Elastic Fabric Adapter
- liberdma: Alibaba Elastic RDMA (iWarp) Adapter
- libhfi1: Intel Omni-Path HFI
- libhns: HiSilicon Hip06 SoC
- libipathverbs: QLogic InfiniPath HCA
Expand Down

0 comments on commit cdda3f8

Please sign in to comment.