]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/mlx4: Initialize send queue entry ownership bits
authorEli Cohen <eli@mellanox.co.il>
Thu, 24 May 2007 13:05:01 +0000 (16:05 +0300)
committerRoland Dreier <rolandd@cisco.com>
Thu, 24 May 2007 21:02:38 +0000 (14:02 -0700)
commitc0be5fb5f835110652911ea8b88ad78f841e5b45
treea6ba737cd09555a0b24bef370c01e623ca78fca9
parent02d89b87081f516ad3993637f9b75db0d9786554
IB/mlx4: Initialize send queue entry ownership bits

We need to initialize the owner bit of send queue WQEs to hardware
ownership whenever the QP is modified from reset to init, not just
when the QP is first allocated.  This avoids having the hardware
process stale WQEs when the QP is moved to reset but not destroyed and
then modified to init again.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/qp.c