summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-03-05 19:05:28 +0100
committerRoland Dreier <roland@purestorage.com>2012-03-13 00:24:59 +0100
commitdb5a7a65c05867cb6ff5cb6d556a0edfce631d2d (patch)
treefdb7cb84d4ae634303c5337203ce482ae4c83c97 /drivers/infiniband
parentmlx4_core: Allow dynamic MTU configuration for IB ports (diff)
downloadlinux-db5a7a65c05867cb6ff5cb6d556a0edfce631d2d.tar.xz
linux-db5a7a65c05867cb6ff5cb6d556a0edfce631d2d.zip
mlx4_core: Scale size of MTT table with system RAM
The current driver defaults to 1M MTT segments, where each segment holds 8 MTT entries. This limits the total memory registered to 8M * PAGE_SIZE which is 32GB with 4K pages. Since systems that have much more memory are pretty common now (at least among systems with InfiniBand hardware), this limit ends up getting hit in practice quite a bit. Handle this by having the driver allocate at least enough MTT entries to cover 2 * totalram pages. Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions