commit | 93b80ac297b1cfdf3bea771a5ce6ea4ff5d25d1d | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@dev.mellanox.co.il> | Thu Oct 31 15:26:35 2013 +0200 |
committer | Roland Dreier <roland@purestorage.com> | Fri Nov 15 10:24:17 2013 -0800 |
tree | c8cb81c349cb9740b358b9670ecbe5fb8904aa35 | |
parent | 959f58544b7f20c92d5eb43d1232c96c15c01bfb [diff] |
IB/mlx4: Fix endless loop in resize CQ When calling get_sw_cqe() we need pass the consumer_index and not the masked value. Failure to do so will cause incorrect result of get_sw_cqe() possibly leading to endless loop. This problem was reported and analyzed by Michael Rice from HP. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>