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
@ -5096,6 +5096,7 @@ partition_resources(struct adapter *sc)
|
|||||||
retry:
|
retry:
|
||||||
rc = apply_cfg_and_initialize(sc, cfg_file, &caps_allowed);
|
rc = apply_cfg_and_initialize(sc, cfg_file, &caps_allowed);
|
||||||
if (rc != 0 && fallback) {
|
if (rc != 0 && fallback) {
|
||||||
|
dump_devlog(sc);
|
||||||
device_printf(sc->dev,
|
device_printf(sc->dev,
|
||||||
"failed (%d) to configure card with \"%s\" profile, "
|
"failed (%d) to configure card with \"%s\" profile, "
|
||||||
"will fall back to a basic configuration and retry.\n",
|
"will fall back to a basic configuration and retry.\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user