linux/drivers/net/ethernet/mellanox/mlx4
Roland Dreier db5a7a65c0 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>
2012-03-12 16:24:59 -07:00
..
alloc.c
catas.c mlx4_core: adjust catas operation for SRIOV mode 2011-12-13 13:56:08 -05:00
cmd.c mlx4_core: fix memory leak at multi_func_cleanup 2012-02-06 12:10:11 -05:00
cq.c mlx4_core: removed function index from vf. 2012-01-22 15:08:43 -05:00
en_cq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-01-02 18:56:49 -05:00
en_ethtool.c mlx4_en: eth statistics modification 2012-01-22 15:08:43 -05:00
en_main.c mlx4_en: set number of rx rings used by RSS using ethtool 2012-01-18 16:07:34 -05:00
en_netdev.c mlx4: allow device removal by fixing dma unmap size 2012-02-06 14:42:28 -05:00
en_port.c mlx4: Ethernet port management modifications 2011-12-13 13:56:07 -05:00
en_port.h mlx4: Ethernet port management modifications 2011-12-13 13:56:07 -05:00
en_resources.c net/mlx4: move RSS related definitions to be global 2011-11-27 17:17:03 -05:00
en_rx.c mlx4: fix DMA mapping leak when allocation fails 2012-02-06 14:42:28 -05:00
en_selftest.c mlx4_core: Add "native" argument to mlx4_cmd and its callers (where needed) 2011-12-13 13:56:05 -05:00
en_tx.c mlx4_en: Allow communication between functions on same host 2011-12-13 13:56:07 -05:00
eq.c mlx4_core: Report thermal error events 2012-03-12 16:24:59 -07:00
fw.c mlx4_core: Exported functions can't be static 2012-02-22 23:00:38 -08:00
fw.h mlx4_core: removed function index from vf. 2012-01-22 15:08:43 -05:00
icm.c mlx4_core: Add "native" argument to mlx4_cmd and its callers (where needed) 2011-12-13 13:56:05 -05:00
icm.h
intf.c mlx4_core: adjust catas operation for SRIOV mode 2011-12-13 13:56:08 -05:00
Kconfig
main.c mlx4_core: Allow dynamic MTU configuration for IB ports 2012-03-12 16:24:59 -07:00
Makefile mlx4_core: resource tracking for HCA resources used by guests 2011-12-13 13:56:07 -05:00
mcg.c mlx4_core: use correct port for steering 2012-02-06 12:10:11 -05:00
mlx4_en.h mlx4: allow device removal by fixing dma unmap size 2012-02-06 14:42:28 -05:00
mlx4.h mlx4_core: Scale size of MTT table with system RAM 2012-03-12 16:24:59 -07:00
mr.c mlx4: Enforce device max FMR maps in FMR alloc 2012-02-26 01:43:37 -08:00
pd.c mlx4_core: removed function index from vf. 2012-01-22 15:08:43 -05:00
port.c mlx4_core: Allow dynamic MTU configuration for IB ports 2012-03-12 16:24:59 -07:00
profile.c mlx4_core: Scale size of MTT table with system RAM 2012-03-12 16:24:59 -07:00
qp.c mlx4_core: removed function index from vf. 2012-01-22 15:08:43 -05:00
reset.c
resource_tracker.c mlx4: add unicast steering entries to resource_tracker 2012-02-15 14:50:16 -05:00
sense.c mlx4_core: Add "native" argument to mlx4_cmd and its callers (where needed) 2011-12-13 13:56:05 -05:00
srq.c mlx4_core: removed function index from vf. 2012-01-22 15:08:43 -05:00