]> git.baikalelectronics.ru Git - kernel.git/commit
IB/qib: Handle transitions from ACTIVE_DEFERRED to ACTIVE better
authorMike Marciniszyn <mike.marciniszyn@qlogic.com>
Tue, 11 Jan 2011 01:42:20 +0000 (17:42 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Jan 2011 01:42:20 +0000 (17:42 -0800)
commit57ecda22b01bbc98192ab4eed118e1301a692aae
tree6092769d355fbe7a1b76677d39de7521cdb2284c
parentff0b5916b40ac08cf9f4e2a3ec0b307d73c52814
IB/qib: Handle transitions from ACTIVE_DEFERRED to ACTIVE better

When the link transitions from ACTIVE_DEFERRED to ACTIVE, the driver
only sees the ACTIVE state. With this change, it will check whether
the state was already ACTIVE and if so, it will not generated IB
events and will not clear symbol error counts.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib_intr.c