diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-01-03 17:56:32 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-01-15 16:54:32 +0100 |
commit | cb586decbb88fcd068116af2d4e1e3e2e86978d6 (patch) | |
tree | 5307db8d73697cc8d13d6f2d104238334b17618e /net/sunrpc/xprtrdma/rpc_rdma.c | |
parent | xprtrdma: Eliminate ri_max_send_sges (diff) | |
download | linux-cb586decbb88fcd068116af2d4e1e3e2e86978d6.tar.xz linux-cb586decbb88fcd068116af2d4e1e3e2e86978d6.zip |
xprtrdma: Make sendctx queue lifetime the same as connection lifetime
The size of the sendctx queue depends on the value stored in
ia->ri_max_send_sges. This value is determined by querying the
underlying device.
Eventually, rpcrdma_ia_open() and rpcrdma_ep_create() will be called
in the connect worker rather than at transport set-up time. The
underlying device will not have been chosen device set-up time.
The sendctx queue will thus have to be created after the underlying
device has been chosen via address and route resolution; in other
words, in the connect worker.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/rpc_rdma.c')
0 files changed, 0 insertions, 0 deletions