]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62e01f327f11214f1693808df208a8f1da791cfc
tree5feb603480d7107967896148325cd0494dfe1ea3
parentc8d37262137abb95e5e7629dd42244cb1b95837c
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