linux-stable/drivers/infiniband/hw
Sagi Grimberg 1b2cd0fc67 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>
2015-10-28 22:27:17 -04:00
..
cxgb3 IB: split struct ib_send_wr 2015-10-08 11:09:10 +01:00
cxgb4 Merge branch 'wr-cleanup' into k.o/for-4.4 2015-10-28 22:23:34 -04:00
mlx4 IB/mlx4: Support the new memory registration API 2015-10-28 22:27:17 -04:00
mlx5 IB/mlx5: Support the new memory registration API 2015-10-28 22:27:17 -04:00
mthca Merge branch 'wr-cleanup' into k.o/for-4.4 2015-10-28 22:23:34 -04:00
nes IB: split struct ib_send_wr 2015-10-08 11:09:10 +01:00
ocrdma Merge branch 'wr-cleanup' into k.o/for-4.4 2015-10-28 22:23:34 -04:00
qib IB: split struct ib_send_wr 2015-10-08 11:09:10 +01:00
usnic usnic: correctly handle kzalloc return value 2015-10-21 16:41:19 -04:00
Makefile IB/ehca: Deprecate driver, move to staging, schedule deletion 2015-09-11 18:13:35 -04:00