1
linux/drivers/net/mlx4
Roland Dreier 7644264082 mlx4_core: Improve error message when not enough UAR pages are available
If an mlx4 device with default FW (which gives a UAR BAR size of 8 MB)
is used in a system with 64 KB pages, then there are only 8192/64==128
UAR pages available.  However, the first 128 UAR pages are reserved
for use with event queue doorbells, so no UAR pages are available to
do anything else with, which means that the driver cannot work.

The current driver fails with a fairly cryptic "Failed to allocate
driver access region, aborting" message in this situation.  Fix the
driver to detect the problem earlier and print out a clearer
description of the problem and a suggestion of how to fix it (use a
new firmware image).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-07-23 08:12:47 -07:00
..
alloc.c mlx4_core: Add HW queues allocation helpers 2008-04-25 14:27:08 -07:00
catas.c mlx4_core: Fix confusion between mlx4_event and mlx4_dev_event enums 2008-04-16 21:01:08 -07:00
cmd.c mlx4_code: Add missing FW status return code 2008-07-22 14:19:39 -07:00
cq.c mlx4_core: Add a way to set the "collapsed" CQ flag 2008-04-29 13:46:50 -07:00
eq.c mlx4_core: Fix confusion between mlx4_event and mlx4_dev_event enums 2008-04-16 21:01:08 -07:00
fw.c IB/mlx4: Add support for memory management extensions and local DMA L_Key 2008-07-23 08:12:26 -07:00
fw.h IB/mlx4: Add support for memory management extensions and local DMA L_Key 2008-07-23 08:12:26 -07:00
icm.c SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
icm.h
intf.c mlx4_core: Fix confusion between mlx4_event and mlx4_dev_event enums 2008-04-16 21:01:08 -07:00
main.c IB/mlx4: Add support for memory management extensions and local DMA L_Key 2008-07-23 08:12:26 -07:00
Makefile
mcg.c IB/mlx4: Add support for blocking multicast loopback packets 2008-07-14 23:48:48 -07:00
mlx4.h mlx4_core: Keep free count for MTT buddy allocator 2008-07-22 14:19:40 -07:00
mr.c IB/mlx4: Add support for memory management extensions and local DMA L_Key 2008-07-23 08:12:26 -07:00
pd.c mlx4_core: Improve error message when not enough UAR pages are available 2008-07-23 08:12:47 -07:00
profile.c
qp.c mlx4_core: Add helper to move QP to ready-to-send 2008-04-25 14:52:32 -07:00
reset.c
srq.c