diff options
author | Chuck Lever | 2015-10-24 23:27:35 +0200 |
---|---|---|
committer | Anna Schumaker | 2015-11-02 19:45:15 +0100 |
commit | 42e5c3e2725ba0c0affc1fc8a6aa1d5cf31ecb75 (patch) | |
tree | b6394fe31cdf2560533abfa37c35cab3f08f406a /net/sunrpc/xprtrdma/verbs.c | |
parent | xprtrdma: Saving IRQs no longer needed for rb_lock (diff) | |
download | kernel-qcow2-linux-42e5c3e2725ba0c0affc1fc8a6aa1d5cf31ecb75.tar.gz kernel-qcow2-linux-42e5c3e2725ba0c0affc1fc8a6aa1d5cf31ecb75.tar.xz kernel-qcow2-linux-42e5c3e2725ba0c0affc1fc8a6aa1d5cf31ecb75.zip |
SUNRPC: Abstract backchannel operations
xprt_{setup,destroy}_backchannel() won't be adequate for RPC/RMDA
bi-direction. In particular, receive buffers have to be pre-
registered and posted in order to receive incoming backchannel
requests.
Add a virtual function call to allow the insertion of appropriate
backchannel setup and destruction methods for each transport.
In addition, freeing a backchannel request is a little different
for RPC/RDMA. Introduce an rpc_xprt_op to handle the difference.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Tested-By: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/verbs.c')
0 files changed, 0 insertions, 0 deletions