cxgbe(4): Make sure that the tracing filters are usable after restart.
The destination queue for tracing filters is destroyed during stop or suspend and the software state needs to reflect this. A new destination queue will be setup when the adapter resumes operation. MFC after: 1 week Sponsored by: Chelsio Communications
This commit is contained in:
@@ -2091,6 +2091,11 @@ stop_lld(struct adapter *sc)
|
||||
TXQ_UNLOCK(wrq);
|
||||
quiesce_wrq(wrq);
|
||||
}
|
||||
|
||||
if (pi->flags & HAS_TRACEQ) {
|
||||
pi->flags &= ~HAS_TRACEQ;
|
||||
sc->traceq = -1;
|
||||
}
|
||||
}
|
||||
if (sc->flags & FULL_INIT_DONE) {
|
||||
/* Firmware event queue */
|
||||
|
||||
Reference in New Issue
Block a user