diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-10-13 18:11:27 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-29 03:27:17 +0100 |
commit | 1b2cd0fc673c0bf9a37c6456267a7246fdd6a816 (patch) | |
tree | 311bc7ac4bd5045957c2658a153c6b0002f3ace3 /drivers/infiniband/hw/ocrdma/ocrdma.h | |
parent | IB/mlx5: Support the new memory registration API (diff) | |
download | linux-1b2cd0fc673c0bf9a37c6456267a7246fdd6a816.tar.xz linux-1b2cd0fc673c0bf9a37c6456267a7246fdd6a816.zip |
IB/mlx4: Support the new memory registration API
Support the new memory registration API by allocating a
private page list array in mlx4_ib_mr and populate it when
mlx4_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 (mlx4_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 <sagig@mellanox.com>
Tested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma.h')
0 files changed, 0 insertions, 0 deletions