diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-10-13 18:11:30 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-29 03:27:18 +0100 |
commit | 8376b86de7d35d43cf1a33a1f43bc015b5a095d9 (patch) | |
tree | c75cb4e7b6a80d6bc2a50017db91444a35564b95 /drivers/infiniband/hw/qib/qib_keys.c | |
parent | RDMA/cxgb3: Support the new memory registration API (diff) | |
download | linux-8376b86de7d35d43cf1a33a1f43bc015b5a095d9.tar.xz linux-8376b86de7d35d43cf1a33a1f43bc015b5a095d9.zip |
iw_cxgb4: Support the new memory registration API
Support the new memory registration API by allocating a
private page list array in c4iw_mr and populate it when
c4iw_map_mr_sg is invoked. Also, support IB_WR_REG_MR
by duplicating build_fastreg just take the needed information
from different places:
- page_size, iova, length (ib_mr)
- page array (c4iw_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 <sagig@mellanox.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_keys.c')
0 files changed, 0 insertions, 0 deletions