diff options
Diffstat (limited to 'drivers/infiniband/core/fmr_pool.c')
-rw-r--r-- | drivers/infiniband/core/fmr_pool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/core/fmr_pool.c b/drivers/infiniband/core/fmr_pool.c index d34a6f1c4f4..838bf54458d 100644 --- a/drivers/infiniband/core/fmr_pool.c +++ b/drivers/infiniband/core/fmr_pool.c | |||
@@ -278,9 +278,9 @@ struct ib_fmr_pool *ib_create_fmr_pool(struct ib_pd *pd, | |||
278 | { | 278 | { |
279 | struct ib_pool_fmr *fmr; | 279 | struct ib_pool_fmr *fmr; |
280 | struct ib_fmr_attr attr = { | 280 | struct ib_fmr_attr attr = { |
281 | .max_pages = params->max_pages_per_fmr, | 281 | .max_pages = params->max_pages_per_fmr, |
282 | .max_maps = IB_FMR_MAX_REMAPS, | 282 | .max_maps = IB_FMR_MAX_REMAPS, |
283 | .page_size = PAGE_SHIFT | 283 | .page_shift = params->page_shift |
284 | }; | 284 | }; |
285 | 285 | ||
286 | for (i = 0; i < params->pool_size; ++i) { | 286 | for (i = 0; i < params->pool_size; ++i) { |