[PATCH] ib: mthca: Always re-arm EQs in mthca_tavor_interrupt()
authorRoland Dreier <rolandd@cisco.com>
Sun, 23 Oct 2005 19:57:19 +0000 (12:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 23 Oct 2005 23:38:39 +0000 (16:38 -0700)
commit75eeec2f3fd9e8a16777219ebf1bf8395845faa7
tree347883a070001786aafdbf284d8d6971ab44dbff
parent8d3b35914aa54232b27e6a2b57d84092aadc5e86
[PATCH] ib: mthca: Always re-arm EQs in mthca_tavor_interrupt()

We should always re-arm an event queue's interrupt in
mthca_tavor_interrupt() if the corresponding bit is set in the event cause
register (ECR), even if we didn't find any entries in the EQ.  If we don't,
then there's a window where we miss an EQ entry and then get stuck because
we don't get another EQ event.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/hw/mthca/mthca_eq.c