IB/mlx4: Set ownership bit correctly when copying CQEs during CQ resize
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Thu, 25 Dec 2008 04:32:42 +0000 (20:32 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 25 Dec 2008 04:32:42 +0000 (20:32 -0800)
commit7798dbf40ad9d295aa3a02eca700168e4327239a
tree5feb603480d7107967896148325cd0494dfe1ea3
parentf5eda57f9bb17b6f09f7888dfc2c47db7aea45d4
IB/mlx4: Set ownership bit correctly when copying CQEs during CQ resize

When resizing a CQ, when copying over unpolled CQEs from the old CQE
buffer to the new buffer, the ownership bit must be set appropriately
for the new buffer, or the ownership bit in the new buffer gets
corrupted.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/cq.c