diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-01-21 11:03:35 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-01-30 10:47:48 -0500 |
commit | ce1ab9ab47973dcff7548abda20e49add2c4ca95 (patch) | |
tree | a10f985b153136992204b307d890159471379a55 /net/sunrpc/xprtrdma/xprt_rdma.h | |
parent | 7bc7972cdd1f137552ca979caa11c8acbe119ae8 (diff) | |
download | linux-ce1ab9ab47973dcff7548abda20e49add2c4ca95.tar.gz linux-ce1ab9ab47973dcff7548abda20e49add2c4ca95.tar.bz2 linux-ce1ab9ab47973dcff7548abda20e49add2c4ca95.zip |
xprtrdma: Take struct ib_qp_attr and ib_qp_init_attr off the stack
Reduce stack footprint of the connection upcall handler function.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r-- | net/sunrpc/xprtrdma/xprt_rdma.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h index ec596cebc966..2b4e7787734d 100644 --- a/net/sunrpc/xprtrdma/xprt_rdma.h +++ b/net/sunrpc/xprtrdma/xprt_rdma.h @@ -71,6 +71,8 @@ struct rpcrdma_ia { enum rpcrdma_memreg ri_memreg_strategy; unsigned int ri_max_frmr_depth; struct ib_device_attr ri_devattr; + struct ib_qp_attr ri_qp_attr; + struct ib_qp_init_attr ri_qp_init_attr; }; /* |