diff options
author | Or Gerlitz <ogerlitz@voltaire.com> | 2006-02-02 13:43:45 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-20 13:08:10 -0500 |
commit | d36f34aadf184d8cc4c240de2b6319ccea8334bb (patch) | |
tree | 20b7a77e03f3c75c9043a50ddd720a31048efa99 /include/rdma/ib_verbs.h | |
parent | 6dfc3901b04d1b79fa982d6de6d5af3b50c6cea8 (diff) |
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>
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r-- | include/rdma/ib_verbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 1d31c8cd5ce0..61a4390ae9d8 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h | |||
@@ -651,7 +651,7 @@ struct ib_mw_bind { | |||
651 | struct ib_fmr_attr { | 651 | struct ib_fmr_attr { |
652 | int max_pages; | 652 | int max_pages; |
653 | int max_maps; | 653 | int max_maps; |
654 | u8 page_size; | 654 | u8 page_shift; |
655 | }; | 655 | }; |
656 | 656 | ||
657 | struct ib_ucontext { | 657 | struct ib_ucontext { |