git: 4ed8c4183115 - stable/14 - bnxt_en: Unhandled async event type 76
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Apr 2025 22:06:14 UTC
The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=4ed8c4183115d304aa98d0ca826f021597f1611a commit 4ed8c4183115d304aa98d0ca826f021597f1611a Author: Sreekanth Reddy <sreekanth.reddy@broadcom.com> AuthorDate: 2025-04-04 08:37:38 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-04-27 22:02:59 +0000 bnxt_en: Unhandled async event type 76 The completion event type 76 is not supported by the driver. Instead of flooding the dmesg with "Unknown event type" messages when this event occurs, move the print under debug level. MFC-After: 3 days Differential-Revision: https://reviews.freebsd.org/D49731 (cherry picked from commit 6450d937955fcd1ab9034c49d53306e882c4a281) --- sys/dev/bnxt/bnxt_en/if_bnxt.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/bnxt/bnxt_en/if_bnxt.c b/sys/dev/bnxt/bnxt_en/if_bnxt.c index 8960866fcf90..eea956759e9e 100644 --- a/sys/dev/bnxt/bnxt_en/if_bnxt.c +++ b/sys/dev/bnxt/bnxt_en/if_bnxt.c @@ -5129,8 +5129,8 @@ bnxt_handle_async_event(struct bnxt_softc *softc, struct cmpl_base *cmpl) "Unhandled async completion type %u\n", async_id); break; default: - device_printf(softc->dev, - "Unknown async completion type %u\n", async_id); + dev_dbg(softc->dev, "Unknown Async event completion type %u\n", + async_id); break; } bnxt_queue_sp_work(softc); @@ -5184,12 +5184,12 @@ bnxt_def_cp_task(void *context, int pending) case CMPL_BASE_TYPE_DBQ_EVENT: case CMPL_BASE_TYPE_QP_EVENT: case CMPL_BASE_TYPE_FUNC_EVENT: - device_printf(softc->dev, - "Unhandled completion type %u\n", type); + dev_dbg(softc->dev, "Unhandled Async event completion type %u\n", + type); break; default: - device_printf(softc->dev, - "Unknown completion type %u\n", type); + dev_dbg(softc->dev, "Unknown Async event completion type %u\n", + type); break; } }