diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-10-13 19:11:28 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-28 22:27:18 -0400 |
commit | 2eaa1c5647a3fd21684120f63e414367055249c7 (patch) | |
tree | 20f3f736d0893e75ac8441c08c0463482a630399 /sound | |
parent | 1b2cd0fc673c0bf9a37c6456267a7246fdd6a816 (diff) |
RDMA/ocrdma: Support the new memory registration API
Support the new memory registration API by allocating a
private page list array in ocrdma_mr and populate it when
ocrdma_map_mr_sg is invoked. Also, support IB_WR_REG_MR
by duplicating IB_WR_FAST_REG_MR, but take the needed
information from different places:
- page_size, iova, length, access flags (ib_mr)
- page array (ocrdma_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>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions