Date: Thu, 20 Apr 2023 20:19:57 GMT From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 27913351047b - main - cxgbe(4): Dump the firmware log before falling back to a minimal config. Message-ID: <202304202019.33KKJvc1043959@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=27913351047b2f49c49c5f3dfc3bcbe3672eea36 commit 27913351047b2f49c49c5f3dfc3bcbe3672eea36 Author: Navdeep Parhar <np@FreeBSD.org> AuthorDate: 2023-04-20 19:43:45 +0000 Commit: Navdeep Parhar <np@FreeBSD.org> CommitDate: 2023-04-20 19:56:24 +0000 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 --- sys/dev/cxgbe/t4_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index 18698ff468f3..ebf830d4db70 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -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",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304202019.33KKJvc1043959>