IB/ipath: Don't count IB symbol and link errors unless link is UP
authorDave Olson <dave.olson@qlogic.com>
Fri, 5 Dec 2008 19:13:19 +0000 (11:13 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 5 Dec 2008 19:13:19 +0000 (11:13 -0800)
Implement the ignoring of ibsymbol errors and linkrecover errors while
the link is at less than INIT (long needed), to get accurate counts.
Particularly an issue when doing non-IBTA DDR negotiation with chips
from vendors that do not support IBTA mode negotiation.  If the driver
is unloaded, and there is a delta, the adjusted counters are written
back to the chip, so they stay adjusted across driver reload.

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found