diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-01-03 11:56:32 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-01-15 10:54:32 -0500 |
commit | cb586decbb88fcd068116af2d4e1e3e2e86978d6 (patch) | |
tree | 5307db8d73697cc8d13d6f2d104238334b17618e /net/sunrpc/xprtrdma/backchannel.c | |
parent | 2e87036814290887a188652a893ab968bad9fad7 (diff) | |
download | linux-cb586decbb88fcd068116af2d4e1e3e2e86978d6.tar.gz |
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/backchannel.c')
0 files changed, 0 insertions, 0 deletions