Revision cb586decbb88fcd068116af2d4e1e3e2e86978d6 authored by Chuck Lever on 03 January 2020, 16:56:32 UTC, committed by Anna Schumaker on 15 January 2020, 15:54:32 UTC
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>
1 parent 2e87036
History
File Mode Size
Kconfig -rw-r--r-- 71.5 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 16.1 KB
do_mounts.h -rw-r--r-- 1.1 KB
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_md.c -rw-r--r-- 7.9 KB
do_mounts_rd.c -rw-r--r-- 8.1 KB
init_task.c -rw-r--r-- 5.3 KB
initramfs.c -rw-r--r-- 14.5 KB
main.c -rw-r--r-- 30.2 KB
noinitramfs.c -rw-r--r-- 873 bytes
version.c -rw-r--r-- 1.3 KB

back to top