diff options
author | Sagi Grimberg <[email protected]> | 2015-10-13 19:11:26 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2015-10-28 22:27:17 -0400 |
commit | 8a187ee52b043f8201e7089e5e538974142722e0 (patch) | |
tree | e43d26e7825068f8e951fb1d8fbb181baaeb6737 /lib/mpi/mpi-internal.h | |
parent | a7060009161344637da8cb4a389ead5fc156ea37 (diff) |
IB/mlx5: Support the new memory registration API
Support the new memory registration API by allocating a
private page list array in mlx5_ib_mr and populate it when
mlx5_ib_map_mr_sg is invoked. Also, support IB_WR_REG_MR
by setting the exact WQE as IB_WR_FAST_REG_MR, just take the
needed information from different places:
- page_size, iova, length, access flags (ib_mr)
- page array (mlx5_ib_mr)
- key (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