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>
This commit is contained in:

committed by
Doug Ledford

parent
b2ac91885b
commit
0008b84ea9
@@ -1339,6 +1339,7 @@ enum ib_access_flags {
|
||||
IB_ACCESS_MW_BIND = (1<<4),
|
||||
IB_ZERO_BASED = (1<<5),
|
||||
IB_ACCESS_ON_DEMAND = (1<<6),
|
||||
IB_ACCESS_HUGETLB = (1<<7),
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user