a0ce85f595
Instead of employing switch() statements, let's use the typical Linux kernel idiom for handling behavioral variation: virtual functions. Start by defining a vector of operations for each supported memory registration mode, and by adding a source file for each mode. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Tested-by: Devesh Sharma <Devesh.Sharma@Emulex.Com> Tested-by: Meghana Cheripady <Meghana.Cheripady@Emulex.Com> Tested-by: Veeresh U. Kokatnur <veereshuk@chelsio.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
10 lines
295 B
Makefile
10 lines
295 B
Makefile
obj-$(CONFIG_SUNRPC_XPRT_RDMA_CLIENT) += xprtrdma.o
|
|
|
|
xprtrdma-y := transport.o rpc_rdma.o verbs.o \
|
|
fmr_ops.o frwr_ops.o physical_ops.o
|
|
|
|
obj-$(CONFIG_SUNRPC_XPRT_RDMA_SERVER) += svcrdma.o
|
|
|
|
svcrdma-y := svc_rdma.o svc_rdma_transport.o \
|
|
svc_rdma_marshal.o svc_rdma_sendto.o svc_rdma_recvfrom.o
|