kernel-hacking-2024-linux-s.../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
catas.c
cmd.c mlx4_core: Use enum value GO_BIT_TIMEOUT_MSECS 2007-10-09 19:59:04 -07:00
cq.c
eq.c
fw.c mlx4_core: Change capability decoding: SRC->XRC 2007-10-09 19:59:13 -07:00
fw.h
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
main.c mlx4_core: Support ICM tables in coherent memory 2007-10-09 19:59:15 -07:00
Makefile
mcg.c
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
profile.c
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