commit | 082dee3216c99a838af40be403799f60bcea2e97 | [log] [tgz] |
---|---|---|
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | Mon Jun 18 08:13:59 2007 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Jun 18 08:13:59 2007 -0700 |
tree | 4741bc693e9eb882e5c72ab2d206cbe63e9dafaa | |
parent | 54e95f8dcbd7d86f79b423e8d11053ec9a2d9946 [diff] |
IB/mlx4: Handle buffer wraparound in __mlx4_ib_cq_clean() When compacting CQ entries, we need to set the correct value of the ownership bit in case the value is different between the index we copy the CQE from and the index we copy it to. Found by Ronni Zimmerman of Mellanox. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>