linux/drivers/net/mlx4
Roland Dreier cf78237d7b mlx4_core: Reserve the correct number of MTT segments
Taking ilog2(dev->caps.reserved_mtts) to find out the order to pass to
the MTT buddy allocator will do the wrong thing if reserved_mtts is ever
not a power of 2.  Be safe and use fls(dev->caps.reserved_mtts - 1).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-10-09 19:59:16 -07:00
..
alloc.c IB/mlx4: Fix last allocated object tracking in bitmap allocator 2007-05-29 16:07:09 -07:00
catas.c mlx4_core: Reset device when internal error is detected 2007-07-17 18:37:42 -07:00
cmd.c mlx4_core: Use enum value GO_BIT_TIMEOUT_MSECS 2007-10-09 19:59:04 -07:00
cq.c mlx4_core: Fix CQ context layout 2007-06-07 11:51:57 -07:00
eq.c mlx4_core: Reset device when internal error is detected 2007-07-17 18:37:42 -07:00
fw.c mlx4_core: Change capability decoding: SRC->XRC 2007-10-09 19:59:13 -07:00
fw.h mlx4_core: Get the maximum message size from reported device capabilities 2007-07-09 20:12:26 -07:00
icm.c mlx4_core: Support ICM tables in coherent memory 2007-10-09 19:59:15 -07:00
icm.h mlx4_core: Support ICM tables in coherent memory 2007-10-09 19:59:15 -07:00
intf.c mlx4_core: Reset device when internal error is detected 2007-07-17 18:37:42 -07:00
main.c mlx4_core: Support ICM tables in coherent memory 2007-10-09 19:59:15 -07:00
Makefile IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00
mcg.c IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00
mlx4.h mlx4_core: Support ICM tables in coherent memory 2007-10-09 19:59:15 -07:00
mr.c mlx4_core: Reserve the correct number of MTT segments 2007-10-09 19:59:16 -07:00
pd.c IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00
profile.c IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00
qp.c mlx4_core: Don't free special QPs in QP number bitmap 2007-10-09 19:59:05 -07:00
reset.c mlx4_core: Wait 1 second after reset before accessing device 2007-08-13 08:47:44 -07:00
srq.c IB/mlx4: Fix up SRQ limit_watermark endianness 2007-10-09 19:59:06 -07:00