commit | e54524111f51eac1900cf91aca3d38a92a6b11c0 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Tue Jan 13 11:03:20 2015 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Thu Jan 15 15:01:46 2015 -0500 |
tree | 9c743ddc7d54a9aaf35b66d3cfa727ecac00f749 | |
parent | e5523bd28101869c85856247fc120faaf72bd232 [diff] |
svcrdma: Plant reader function in struct svcxprt_rdma The RDMA reader function doesn't change once an svcxprt_rdma is instantiated. Instead of checking sc_devcap during every incoming RPC, set the reader function once when the connection is accepted. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>