summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/rpc_rdma.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2015-01-21 11:04:00 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2015-01-30 10:47:49 -0500
commit9128c3e794a77917a86dd5490ca2c5233a8c6fde (patch)
tree3d71b14e21ddb2082cc700822af1e868e430f2fe /net/sunrpc/xprtrdma/rpc_rdma.c
parent1392402c405a75de1cdc658d36c6007ea1c037de (diff)
downloadtalos-obmc-linux-9128c3e794a77917a86dd5490ca2c5233a8c6fde.tar.gz
talos-obmc-linux-9128c3e794a77917a86dd5490ca2c5233a8c6fde.zip
xprtrdma: Add struct rpcrdma_regbuf and helpers
There are several spots that allocate a buffer via kmalloc (usually contiguously with another data structure) and then register that buffer internally. I'd like to split the buffers out of these data structures to allow the data structures to scale. Start by adding functions that can kmalloc and register a buffer, and can manage/preserve the buffer's associated ib_sge and ib_mr fields. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/rpc_rdma.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud