IB/mlx4: Handle buffer wraparound in __mlx4_ib_cq_clean()
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Mon, 18 Jun 2007 15:13:59 +0000 (08:13 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 18 Jun 2007 15:13:59 +0000 (08:13 -0700)
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>

No differences found