IB: Enable FMR pool user to set page size
authorOr Gerlitz <ogerlitz@voltaire.com>
Thu, 2 Feb 2006 18:43:45 +0000 (10:43 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:10 +0000 (10:08 -0800)
commitd36f34aadf184d8cc4c240de2b6319ccea8334bb
tree20b7a77e03f3c75c9043a50ddd720a31048efa99
parent6dfc3901b04d1b79fa982d6de6d5af3b50c6cea8
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>
drivers/infiniband/core/fmr_pool.c
drivers/infiniband/hw/mthca/mthca_mr.c
include/rdma/ib_fmr_pool.h
include/rdma/ib_verbs.h