]> git.karo-electronics.de Git - karo-tx-linux.git/commit
svcrdma: Reduce size of sge array in struct svc_rdma_op_ctxt
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Apr 2017 17:06:57 +0000 (13:06 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 25 Apr 2017 21:25:55 +0000 (17:25 -0400)
commitded8d19641a605232ab48f5d27f542648beba3cc
tree8152393c9a9373dd1b43cc3ebba1756792135984
parentf5821c76b2c9c2fb98b276c0bf6a101bfe9050a3
svcrdma: Reduce size of sge array in struct svc_rdma_op_ctxt

The sge array in struct svc_rdma_op_ctxt is no longer used for
sending RDMA Write WRs. It need only accommodate the construction of
Send and Receive WRs. The maximum inline size is the largest payload
it needs to handle now.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma.c