]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitb3d5cb2f2067b30da53aa67e42fdd733030fb411
tree6092769d355fbe7a1b76677d39de7521cdb2284c
parentc7665e5a6988450a6cc19c2dc1dff4d290077614
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