Page MenuHomeFreeBSD

D34895.diff
No OneTemporary

D34895.diff

diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -5097,6 +5097,17 @@
"failed to enable high priority filters :%d.\n",
rc);
}
+
+ param = FW_PARAM_DEV(PPOD_EDRAM);
+ rc = -t4_query_params(sc, sc->mbox, sc->pf, 0, 1, &param, &val);
+ if (rc == 0 && val == 1) {
+ rc = -t4_set_params(sc, sc->mbox, sc->pf, 0, 1, &param,
+ &val);
+ if (rc != 0) {
+ device_printf(sc->dev,
+ "failed to set PPOD_EDRAM: %d.\n", rc);
+ }
+ }
}
/* Enable opaque VIIDs with firmwares that support it. */

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 22, 7:56 AM (18 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31963026
Default Alt Text
D34895.diff (607 B)

Event Timeline