]> err.no Git - linux-2.6/commit
IB/ipath: Fix CQ flushing when QP is modified to error state
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 15 Mar 2007 21:44:57 +0000 (14:44 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Apr 2007 03:20:56 +0000 (20:20 -0700)
commit041eab9136d8325c332429df71d05ba3e0ea8ebc
treee374e5bb3f1a788c37ac275be3aa2a770669ef71
parent614d49a21e96737f84b13f644ac813f8eb6d297a
IB/ipath: Fix CQ flushing when QP is modified to error state

If a receive work request has been removed from the queue but has not
had a CQ entry generated for it and the QP is modified to the error
state, the completion entry generated is incorrect.  This patch fixes
the problem.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_qp.c
drivers/infiniband/hw/ipath/ipath_ud.c