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:
Navdeep Parhar 2024-09-11 01:01:38 -07:00
parent 171e57967b
commit d82cb5c608

View file

@ -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 */