Whamcloud - gitweb
LU-9983 ko2iblnd: allow for discontiguous fragments 90/29290/5
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 2 Oct 2017 21:23:15 +0000 (16:23 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 16 Oct 2017 03:23:06 +0000 (03:23 +0000)
commit7954a520428002de8629916d4ae7b6660818dc6c
treed1bd0b1a0a2b4d01974dd65a09053870e88ff03e
parent7a024b535bd2495bf425a86a23bcc46545fb141f
LU-9983 ko2iblnd: allow for discontiguous fragments

In the IOVEC case the buffers passed to the LND may not span
complete pages, therefore the RDMA descriptor needs to describe
all the buffers.  Moreover for the FMR case, the addresses that get
set in the RDMA descriptor need to be relative addresses. This
issue was exposed after:
LU-9026 o2iblnd: Adapt to the removal of ib_get_dma_mr()

Fastreg still expects only one fragment with the total nob.
Otherwise there is a dump_cqe error from MLX5

Test-Parameters: trivial
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: Ie1cf52677f65af83357a3dd25fd1a45f3466a96e
Reviewed-on: https://review.whamcloud.com/29290
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c