diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2007-06-18 08:13:59 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-06-18 08:13:59 -0700 |
commit | 082dee3216c99a838af40be403799f60bcea2e97 (patch) | |
tree | 4741bc693e9eb882e5c72ab2d206cbe63e9dafaa /drivers/infiniband/hw/mlx4/main.c | |
parent | 54e95f8dcbd7d86f79b423e8d11053ec9a2d9946 (diff) | |
download | blackbird-op-linux-082dee3216c99a838af40be403799f60bcea2e97.tar.gz blackbird-op-linux-082dee3216c99a838af40be403799f60bcea2e97.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/main.c')
0 files changed, 0 insertions, 0 deletions