Skip to content

Commit

Permalink
rdma: Optimize mlx5_dv provider
Browse files Browse the repository at this point in the history
Update the implementation of the mlx5_dv provider to use libspdk_mlx5,
which provides an optimized RDMA implementation for SPDK needs.

Signed-off-by: Sergey Gorenko <sergeygo@nvidia.com>
  • Loading branch information
SergeyGorenko committed Jul 11, 2024
1 parent 6b422db commit 2cee30f
Show file tree
Hide file tree
Showing 4 changed files with 501 additions and 325 deletions.
6 changes: 2 additions & 4 deletions lib/rdma/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_rdma.map)

LIBNAME = rdma

C_SRCS = common.c

ifeq ($(CONFIG_RDMA_PROV),verbs)
C_SRCS += rdma_verbs.c
C_SRCS = rdma_verbs.c
else ifeq ($(CONFIG_RDMA_PROV),mlx5_dv)
C_SRCS += rdma_mlx5_dv.c
C_SRCS = rdma_mlx5_dv.c
LOCAL_SYS_LIBS += -lmlx5
else
$(error Wrong RDMA provider specified: $(CONFIG_RDMA_PROV))
Expand Down
158 changes: 0 additions & 158 deletions lib/rdma/common.c

This file was deleted.

Loading

0 comments on commit 2cee30f

Please sign in to comment.