Support the new memory registration API by allocating a private page list array in iwch_mr and populate it when iwch_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 (iwch_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> Signed-off-by: Doug Ledford <dledford@redhat.com> |
||
|---|---|---|
| .. | ||
| cxio_dbg.c | ||
| cxio_hal.c | ||
| cxio_hal.h | ||
| cxio_resource.c | ||
| cxio_resource.h | ||
| cxio_wr.h | ||
| iwch.c | ||
| iwch.h | ||
| iwch_cm.c | ||
| iwch_cm.h | ||
| iwch_cq.c | ||
| iwch_ev.c | ||
| iwch_mem.c | ||
| iwch_provider.c | ||
| iwch_provider.h | ||
| iwch_qp.c | ||
| iwch_user.h | ||
| Kconfig | ||
| Makefile | ||
| tcb.h | ||