OpenCloudOS-Kernel/drivers/infiniband/hw/mlx4
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
..
Kconfig IB/mlx4: Add dependency INET 2014-01-19 15:14:05 -08:00
Makefile IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
ah.c IB/core: Use GID table in AH creation and dmac resolution 2015-10-21 23:48:17 -04:00
alias_GUID.c net/mlx4_core: Modify port values when generting EQEs for VFs 2015-05-24 23:05:09 -04:00
cm.c IB/mlx4: In mlx4_ib_demux_cm, print out GUID in host-endian order 2015-02-17 22:11:40 -08:00
cq.c IB/mlx4: Support the new memory registration API 2015-10-28 22:27:17 -04:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
mad.c Merge branch 'wr-cleanup' into k.o/for-4.4 2015-10-28 22:23:34 -04:00
main.c IB/mlx4: Support the new memory registration API 2015-10-28 22:27:17 -04:00
mcg.c IB/core: Use GID table in AH creation and dmac resolution 2015-10-21 23:48:17 -04:00
mlx4_ib.h IB/mlx4: Support the new memory registration API 2015-10-28 22:27:17 -04:00
mr.c IB/mlx4: Support the new memory registration API 2015-10-28 22:27:17 -04:00
qp.c IB/mlx4: Support the new memory registration API 2015-10-28 22:27:17 -04:00
srq.c IB/mlx4: Reset flow support for IB kernel ULPs 2015-02-09 14:03:53 -08:00
sysfs.c IB/mlx4: Forbid using sysfs to change RoCE pkeys 2015-08-30 18:12:22 -04:00
user.h mlx4: 64-byte CQE/EQE support 2012-11-26 10:19:17 -08:00