OpenCloudOS-Kernel/drivers/net/mlx4
Jack Morgenstein e383d19e90 mlx4_core: Fix thinko in QP destroy (incorrect bitmap_free)
Fix thinko in commit eaf559bf ("mlx4_core: Don't free special QPs in
QP number bitmap").  The old commit had the logic exactly backwards
and ended up freeing *only* special QPs, which not only left the
original bug in place but also introduced the problem that the QP
number bitmap would get full after a while.

Found by Dotan Barak of Mellanox.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-11-14 08:20:03 -08:00
..
Makefile IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00
alloc.c mlx4_core: Fix possible bad free in mlx4_buf_free() 2007-11-13 15:26:57 -08: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 mmiowb() to avoid firmware commands getting jumbled up 2007-10-09 19:59:18 -07:00
cq.c mlx4_core: Fix section mismatches 2007-10-10 15:43:54 -07:00
eq.c mlx4_core: Fix section mismatches 2007-10-10 15:43:54 -07:00
fw.c mlx4_core: Increase command timeout for INIT_HCA to 10 seconds 2007-10-21 15:06:04 -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 SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
icm.h mlx4_core: Write MTTs from CPU instead with of WRITE_MTT FW command 2007-10-09 19:59:16 -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: Fix infinite loop on device initialization 2007-10-13 14:10:50 -07:00
mcg.c mlx4_core: Fix section mismatches 2007-10-10 15:43:54 -07:00
mlx4.h mlx4_core: Increase max number of QPs per multicast group to 56 2007-10-09 19:59:16 -07:00
mr.c mlx4_core: Fix section mismatches 2007-10-10 15:43:54 -07:00
pd.c mlx4_core: Fix section mismatches 2007-10-10 15:43:54 -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: Fix thinko in QP destroy (incorrect bitmap_free) 2007-11-14 08:20:03 -08:00
reset.c mlx4_core: Wait 1 second after reset before accessing device 2007-08-13 08:47:44 -07:00
srq.c mlx4_core: Fix section mismatches 2007-10-10 15:43:54 -07:00