IB/umem: Add support to huge ODP
authorArtemy Kovalyov <artemyko@mellanox.com>
Wed, 5 Apr 2017 06:23:57 +0000 (09:23 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 25 Apr 2017 19:40:28 +0000 (15:40 -0400)
commit0008b84ea9afe6ec255c09044e8090cb76babc80
tree15028043fcea6ff1aed3a90e342ef89f6a61cf45
parentb2ac91885b9f137fd7ed35593a72bcee9e049ba8
IB/umem: Add support to huge ODP

Add IB_ACCESS_HUGETLB ib_reg_mr flag.
Hugetlb region registered with this flag
will use single translation entry per huge page.

Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/umem.c
drivers/infiniband/core/umem_odp.c
include/rdma/ib_umem_odp.h
include/rdma/ib_verbs.h