diff options
author | Tom Tucker | 2007-12-31 04:07:25 +0100 |
---|---|---|
committer | J. Bruce Fields | 2008-02-01 22:42:08 +0100 |
commit | 5148bf4ebc1f59dc6a0ec43a220c55ff0771246e (patch) | |
tree | d7ba46947483308dc77736335b05d1124befa7c4 /include/linux/sunrpc/svc_xprt.h | |
parent | svc: Move sk_sendto and sk_recvfrom to svc_xprt_class (diff) | |
download | kernel-qcow2-linux-5148bf4ebc1f59dc6a0ec43a220c55ff0771246e.tar.gz kernel-qcow2-linux-5148bf4ebc1f59dc6a0ec43a220c55ff0771246e.tar.xz kernel-qcow2-linux-5148bf4ebc1f59dc6a0ec43a220c55ff0771246e.zip |
svc: Add transport specific xpo_release function
The svc_sock_release function releases pages allocated to a thread. For
UDP this frees the receive skb. For RDMA it will post a receive WR
and bump the client credit count.
Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/sunrpc/svc_xprt.h')
-rw-r--r-- | include/linux/sunrpc/svc_xprt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h index 7ae6c857b05d..01ee7bc2c374 100644 --- a/include/linux/sunrpc/svc_xprt.h +++ b/include/linux/sunrpc/svc_xprt.h @@ -12,6 +12,7 @@ struct svc_xprt_ops { int (*xpo_recvfrom)(struct svc_rqst *); int (*xpo_sendto)(struct svc_rqst *); + void (*xpo_release_rqst)(struct svc_rqst *); }; struct svc_xprt_class { |