IB/ipath: Only increment SSN if WQE is put on send queue
authorRalph Campbell <ralph.campbell@qlogic.com>
Wed, 7 May 2008 17:57:14 +0000 (10:57 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 7 May 2008 17:57:14 +0000 (10:57 -0700)
If a send work request has immediate errors and is not put on the
send queue, we shouldn't update any of the QP state.

The increment of the SSN wasn't obeying this.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found