diff options
author | Sagi Grimberg <[email protected]> | 2015-10-13 19:11:32 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2015-10-28 22:27:18 -0400 |
commit | 0ba24dd39a3f401dd12d129a65d2e2e7fe7f96eb (patch) | |
tree | 8969e0d8271eb58b82f29a53cb949c79856df384 /lib/mpi/mpi-internal.h | |
parent | 38071a461f0a87a86ece011356bdac991795ce04 (diff) |
RDMA/nes: Support the new memory registration API
Support the new memory registration API by allocating a
private page list array in nes_mr and populate it when
nes_map_mr_sg is invoked. Also, support IB_WR_REG_MR
by duplicating IB_WR_FAST_REG_MR handling and take the
needed information from different places:
- page_size, iova, length (ib_mr)
- page array (nes_mr)
- key, access flags (ib_reg_wr)
The IB_WR_FAST_REG_MR handlers will be removed later when
all the ULPs will be converted.
Signed-off-by: Sagi Grimberg <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions