cxgbe(4): Use backdoor access to read SGE context on T7

This avoids a firmware bug where it crashes when accessing SGE context
on a secondary core.

MFC after:	1 week
Sponsored by:	Chelsio Communications
This commit is contained in:
Navdeep Parhar
2026-06-02 22:07:31 -07:00
parent 886164895f
commit c029d04671
+1 -1
View File
@@ -12576,7 +12576,7 @@ get_sge_context(struct adapter *sc, int mem_id, uint32_t cid, int len,
goto done;
}
if (sc->flags & FW_OK) {
if (sc->flags & FW_OK && !is_t7(sc)) {
rc = -t4_sge_ctxt_rd(sc, sc->mbox, cid, mem_id, data);
if (rc == 0)
goto done;