From: Jack Morgenstein Date: Mon, 18 Jun 2007 15:13:59 +0000 (-0700) Subject: IB/mlx4: Handle buffer wraparound in __mlx4_ib_cq_clean() X-Git-Tag: v2.6.22-rc6~70^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=082dee3216c99a838af40be403799f60bcea2e97;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed