]> err.no Git - linux-2.6/commit
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)
commit6e87d1500713767866db0668bbcec75719576f3c
treef6924986ad4ff70ec9aaee7e26d82663bcb4276c
parent5f51efc195dfb860c60fafb4e47fe4b7cad2626d
IB/ipath: Only increment SSN if WQE is put on send queue

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>
drivers/infiniband/hw/ipath/ipath_verbs.c