diff options
author | 2013-07-28 12:35:42 +0300 | |
---|---|---|
committer | 2013-08-09 17:18:10 -0700 | |
commit | 5587856c9659ac2d6ab201141aa8a5c2ff3be4cd (patch) | |
tree | 4a3b63aedd212e74fa67ee95b9ad5afab39c434c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/iser: Place the fmr pool into a union in iser's IB conn struct (diff) | |
download | linux-dev-5587856c9659ac2d6ab201141aa8a5c2ff3be4cd.tar.xz linux-dev-5587856c9659ac2d6ab201141aa8a5c2ff3be4cd.zip |
IB/iser: Introduce fast memory registration model (FRWR)
Newer HCAs and Virtual functions may not support FMRs but rather a fast
registration model, which we call FRWR - "Fast Registration Work Requests".
This model was introduced in 00f7ec36c ("RDMA/core: Add memory management
extensions support") and works when the IB device supports the
IB_DEVICE_MEM_MGT_EXTENSIONS capability.
Upon creating the iser device iser will test whether the HCA supports
FMRs. If no support for FMRs, check if IB_DEVICE_MEM_MGT_EXTENSIONS
is supported and assign function pointers that handle fast
registration and allocation of appropriate resources (fast_reg
descriptors).
Registration is done using posting IB_WR_FAST_REG_MR to the QP and
invalidations using posting IB_WR_LOCAL_INV.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions