RDMA/cxgb3: Wrap the software send queue pointer as needed on flush
authorSteve Wise <swise@opengridcomputing.com>
Tue, 13 May 2008 18:52:55 +0000 (11:52 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 13 May 2008 18:52:55 +0000 (11:52 -0700)
commita58e58fafdff4c25949221e46132e86f709d0b79
tree09ee58e05c6600d6ecb4c195357678afff5aea5e
parentf018c7e177a50390f6fcb137f1a28a6027d8ba50
RDMA/cxgb3: Wrap the software send queue pointer as needed on flush

cxio_flush_sq() was failing to wrap around the software send queue
causing garbage completion entries on a flush operation.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/cxio_hal.c