aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/xprt_rdma.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2019-04-24 09:39:59 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-04-25 15:20:58 -0400
commitc209e49ceac0ff479f79ac5cd2fbf8be80621203 (patch)
treedbf542f1eb5bf676ffe26c2e202cc512cf075ea5 /net/sunrpc/xprtrdma/xprt_rdma.h
parentxprtrdma: Clean up sendctx functions (diff)
downloadlinux-dev-c209e49ceac0ff479f79ac5cd2fbf8be80621203.tar.xz
linux-dev-c209e49ceac0ff479f79ac5cd2fbf8be80621203.zip
xprtrdma: More Send completion batching
Instead of using a fixed number, allow the amount of Send completion batching to vary based on the client's maximum credit limit. - A larger default gives a small boost to IOPS throughput - Reducing it based on max_requests gives a safe result when the max credit limit is cranked down (eg. when the device has a small max_qp_wr). Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to '')
-rw-r--r--net/sunrpc/xprtrdma/xprt_rdma.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h
index 8afb5fc1de05..f8563937c8c6 100644
--- a/net/sunrpc/xprtrdma/xprt_rdma.h
+++ b/net/sunrpc/xprtrdma/xprt_rdma.h
@@ -232,16 +232,6 @@ struct rpcrdma_sendctx {
struct ib_sge sc_sges[];
};
-/* Limit the number of SGEs that can be unmapped during one
- * Send completion. This caps the amount of work a single
- * completion can do before returning to the provider.
- *
- * Setting this to zero disables Send completion batching.
- */
-enum {
- RPCRDMA_MAX_SEND_BATCH = 7,
-};
-
/*
* struct rpcrdma_mr - external memory region metadata
*