OpenCloudOS-Kernel/drivers/infiniband/hw/ocrdma
Sagi Grimberg 2eaa1c5647 RDMA/ocrdma: Support the new memory registration API
Support the new memory registration API by allocating a
private page list array in ocrdma_mr and populate it when
ocrdma_map_mr_sg is invoked. Also, support IB_WR_REG_MR
by duplicating IB_WR_FAST_REG_MR, but take the needed
information from different places:
- page_size, iova, length, access flags (ib_mr)
- page array (ocrdma_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>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-10-28 22:27:18 -04:00
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma.h RDMA/ocrdma: Support the new memory registration API 2015-10-28 22:27:18 -04:00
ocrdma_abi.h RDMA/ocrdma: update ocrdma license to dual-license 2015-07-24 11:34:34 -04:00
ocrdma_ah.c IB/core: Use GID table in AH creation and dmac resolution 2015-10-21 23:48:17 -04:00
ocrdma_ah.h RDMA/ocrdma: update ocrdma license to dual-license 2015-07-24 11:34:34 -04:00
ocrdma_hw.c IB/core: Use GID table in AH creation and dmac resolution 2015-10-21 23:48:17 -04:00
ocrdma_hw.h RDMA/ocrdma: update ocrdma license to dual-license 2015-07-24 11:34:34 -04:00
ocrdma_main.c RDMA/ocrdma: Support the new memory registration API 2015-10-28 22:27:18 -04:00
ocrdma_sli.h RDMA/ocrdma: Incorporate the moving of GID Table mgmt to IB/Core 2015-08-30 18:12:21 -04:00
ocrdma_stats.c RDMA/ocrdma: Avoid a possible crash in ocrdma_rem_port_stats 2015-10-21 17:28:19 -04:00
ocrdma_stats.h RDMA/ocrdma: update ocrdma license to dual-license 2015-07-24 11:34:34 -04:00
ocrdma_verbs.c RDMA/ocrdma: Support the new memory registration API 2015-10-28 22:27:18 -04:00
ocrdma_verbs.h RDMA/ocrdma: Support the new memory registration API 2015-10-28 22:27:18 -04:00