summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_verbs.c
diff options
context:
space:
mode:
authorSagi Grimberg2015-10-13 18:11:30 +0200
committerDoug Ledford2015-10-29 03:27:18 +0100
commit8376b86de7d35d43cf1a33a1f43bc015b5a095d9 (patch)
treec75cb4e7b6a80d6bc2a50017db91444a35564b95 /drivers/infiniband/hw/qib/qib_verbs.c
parentRDMA/cxgb3: Support the new memory registration API (diff)
downloadkernel-qcow2-linux-8376b86de7d35d43cf1a33a1f43bc015b5a095d9.tar.gz
kernel-qcow2-linux-8376b86de7d35d43cf1a33a1f43bc015b5a095d9.tar.xz
kernel-qcow2-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_verbs.c')
0 files changed, 0 insertions, 0 deletions