mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
cxgbe(4): Dump the firmware log before falling back to a minimal config.
It might have errors that explain why the attempted configuration failed. MFC after: 1 week Sponsored by: Chelsio Communications
This commit is contained in:
parent
8e813d07c6
commit
2791335104
1 changed files with 1 additions and 0 deletions
|
|
@ -5096,6 +5096,7 @@ partition_resources(struct adapter *sc)
|
|||
retry:
|
||||
rc = apply_cfg_and_initialize(sc, cfg_file, &caps_allowed);
|
||||
if (rc != 0 && fallback) {
|
||||
dump_devlog(sc);
|
||||
device_printf(sc->dev,
|
||||
"failed (%d) to configure card with \"%s\" profile, "
|
||||
"will fall back to a basic configuration and retry.\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue