tmp_suning_uos_patched/net/sunrpc/xprtrdma
Chuck Lever a0ce85f595 xprtrdma: Add vector of ops for each memory registration strategy
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>
2015-03-31 09:52:52 -04:00
..
fmr_ops.c xprtrdma: Add vector of ops for each memory registration strategy 2015-03-31 09:52:52 -04:00
frwr_ops.c xprtrdma: Add vector of ops for each memory registration strategy 2015-03-31 09:52:52 -04:00
Makefile xprtrdma: Add vector of ops for each memory registration strategy 2015-03-31 09:52:52 -04:00
physical_ops.c xprtrdma: Add vector of ops for each memory registration strategy 2015-03-31 09:52:52 -04:00
rpc_rdma.c xprtrdma: Perform a full marshal on retransmit 2015-03-31 09:52:52 -04:00
svc_rdma_marshal.c svcrdma: Clean up read chunk counting 2015-01-15 15:01:44 -05:00
svc_rdma_recvfrom.c svcrdma: Handle additional inline content 2015-01-15 15:01:49 -05:00
svc_rdma_sendto.c svcrdma: Find rmsgp more reliably 2015-01-15 15:01:45 -05:00
svc_rdma_transport.c svcrdma: Plant reader function in struct svcxprt_rdma 2015-01-15 15:01:46 -05:00
svc_rdma.c net: Convert uses of typedef ctl_table to struct ctl_table 2013-06-13 02:36:09 -07:00
transport.c xprtrdma: Perform a full marshal on retransmit 2015-03-31 09:52:52 -04:00
verbs.c xprtrdma: Add vector of ops for each memory registration strategy 2015-03-31 09:52:52 -04:00
xprt_rdma.h xprtrdma: Add vector of ops for each memory registration strategy 2015-03-31 09:52:52 -04:00