]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit4028250928b5376426250a9c97c6a81be0b66831
tree347883a070001786aafdbf284d8d6971ab44dbff
parentd8720ccc0567dad6f703c316f21a19137309cf35
[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