summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-01-03 11:56:53 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2020-01-15 10:54:32 -0500
commitb78de1dca00376aaba7a58bb5fe21c1606524abe (patch)
treef47239aa2c8629b40f667aab8faec83da89a03c8 /Documentation
parent25868e610aed20e06f6ff10a562a04e8aaea5a5e (diff)
downloadlwn-b78de1dca00376aaba7a58bb5fe21c1606524abe.tar.gz
lwn-b78de1dca00376aaba7a58bb5fe21c1606524abe.zip
xprtrdma: Allocate and map transport header buffers at connect time
Currently the underlying RDMA device is chosen at transport set-up time. But it will soon be at connect time instead. The maximum size of a transport header is based on device capabilities. Thus transport header buffers have to be allocated _after_ the underlying device has been chosen (via address and route resolution); ie, in the connect worker. Thus, move the allocation of transport header buffers to the connect worker, after the point at which the underlying RDMA device has been chosen. This also means the RDMA device is available to do a DMA mapping of these buffers at connect time, instead of in the hot I/O path. Make that optimization as well. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions