OpenCloudOS-Kernel/drivers/infiniband/hw/mlx5
Sagi Grimberg 8a187ee52b IB/mlx5: Support the new memory registration API
Support the new memory registration API by allocating a
private page list array in mlx5_ib_mr and populate it when
mlx5_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 (mlx5_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>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-10-28 22:27:17 -04:00
..
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
Makefile IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
ah.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
cq.c IB/mlx5: Support the new memory registration API 2015-10-28 22:27:17 -04:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
mad.c IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
main.c IB/mlx5: Support the new memory registration API 2015-10-28 22:27:17 -04:00
mem.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
mlx5_ib.h IB/mlx5: Support the new memory registration API 2015-10-28 22:27:17 -04:00
mr.c IB/mlx5: Support the new memory registration API 2015-10-28 22:27:17 -04:00
odp.c net/mlx5_core: New device capabilities handling 2015-05-30 18:23:22 -07:00
qp.c IB/mlx5: Support the new memory registration API 2015-10-28 22:27:17 -04:00
srq.c net/mlx5_core: Enable XRCs and SRQs when using ISSI > 0 2015-06-04 16:41:01 -07:00
user.h IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00