IB: Enable FMR pool user to set page size
This patch allows the consumer to set the page size of "pages" mapped by the pool FMRs, which is a feature already existing in the base verbs API. On the cosmetic side it changes ib_fmr_attr.page_size field to be named page_shift. Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
committed by
Roland Dreier
parent
6dfc3901b0
commit
d36f34aadf
@ -651,7 +651,7 @@ struct ib_mw_bind {
|
||||
struct ib_fmr_attr {
|
||||
int max_pages;
|
||||
int max_maps;
|
||||
u8 page_size;
|
||||
u8 page_shift;
|
||||
};
|
||||
|
||||
struct ib_ucontext {
|
||||
|
Reference in New Issue
Block a user