linux/drivers/infiniband/hw/mlx5
Haggai Eran cc149f751b IB/mlx5: Changes in memory region creation to support on-demand paging
This patch wraps together several changes needed for on-demand paging support
in the mlx5_ib_populate_pas function, and when registering memory regions.

* Instead of accepting a UMR bit telling the function to enable all
  access flags, the function now accepts the access flags themselves.
* For on-demand paging memory regions, fill the memory tables from the
  correct list, and enable/disable the access flags per-page according
  to whether the page is present.
* A new bit is set to enable writing of access flags when using the
  firmware create_mkey command.
* Disable contig pages when on-demand paging is enabled.

In addition the patch changes the UMR code to use PTR_ALIGN instead of
our own macro.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-12-15 18:19:02 -08:00
..
ah.c
cq.c mlx5: don't duplicate kvfree() 2014-11-21 14:58:18 -05:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
Kconfig IB/mlx5: Remove dependency on X86 2014-02-13 20:48:02 -08:00
mad.c net/mlx5_core: Update device capabilities handling 2014-10-03 15:42:31 -07:00
main.c IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
Makefile IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
mem.c IB/mlx5: Changes in memory region creation to support on-demand paging 2014-12-15 18:19:02 -08:00
mlx5_ib.h IB/mlx5: Changes in memory region creation to support on-demand paging 2014-12-15 18:19:02 -08:00
mr.c IB/mlx5: Changes in memory region creation to support on-demand paging 2014-12-15 18:19:02 -08:00
odp.c IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
qp.c IB/mlx5: Add function to read WQE from user-space 2014-12-15 18:13:35 -08:00
srq.c mlx5: don't duplicate kvfree() 2014-11-21 14:58:18 -05:00
user.h IB/mlx5: add missing padding at end of struct mlx5_ib_create_srq 2014-05-27 11:53:16 -07:00