Date: Thu, 11 Jan 2024 05:34:30 GMT From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: b9ead2c2e71c - stable/13 - cxgbe(4): Dump the firmware log before falling back to a minimal config. Message-ID: <202401110534.40B5YUA1009953@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=b9ead2c2e71c732e488e9f358ec36e1d4417e0d2 commit b9ead2c2e71c732e488e9f358ec36e1d4417e0d2 Author: Navdeep Parhar <np@FreeBSD.org> AuthorDate: 2023-04-20 19:43:45 +0000 Commit: Navdeep Parhar <np@FreeBSD.org> CommitDate: 2024-01-11 05:06:59 +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. Sponsored by: Chelsio Communications (cherry picked from commit 27913351047b2f49c49c5f3dfc3bcbe3672eea36) --- 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 ebc341419946..8a4b31209501 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -5161,6 +5161,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?202401110534.40B5YUA1009953>