mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 06:42:56 -04:00
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:
parent
171e57967b
commit
d82cb5c608
1 changed files with 5 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue