]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Fix many locking issues when switching to error state
authorRalph Campbell <ralph.campbell@qlogic.com>
Tue, 13 May 2008 18:41:29 +0000 (11:41 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 13 May 2008 18:41:29 +0000 (11:41 -0700)
commite509be898d8937634437caa474b57ac12795e5bc
treef99b0e3965ee0eaf89acccdba382689719881a29
parent53dc1ca194c062aa9771e194047f27ec1ca592df
IB/ipath: Fix many locking issues when switching to error state

The send DMA hardware queue voided a number of prior assumptions about
when a send is complete which led to completions being generated out of
order.  There were also a number of locking issues when switching the QP
to the error or reset states, and we implement the IB_QPS_SQD state.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_qp.c
drivers/infiniband/hw/ipath/ipath_rc.c
drivers/infiniband/hw/ipath/ipath_ruc.c
drivers/infiniband/hw/ipath/ipath_uc.c
drivers/infiniband/hw/ipath/ipath_ud.c
drivers/infiniband/hw/ipath/ipath_user_sdma.h
drivers/infiniband/hw/ipath/ipath_verbs.c
drivers/infiniband/hw/ipath/ipath_verbs.h