git: 6450d937955f - main - bnxt_en: Unhandled async event type 76
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Apr 2025 22:43:32 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=6450d937955fcd1ab9034c49d53306e882c4a281 commit 6450d937955fcd1ab9034c49d53306e882c4a281 Author: Sreekanth Reddy <sreekanth.reddy@broadcom.com> AuthorDate: 2025-04-04 08:37:38 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-04-23 22:42:12 +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 --- 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 51b9beb0be39..0e5bb6a736ae 100644 --- a/sys/dev/bnxt/bnxt_en/if_bnxt.c +++ b/sys/dev/bnxt/bnxt_en/if_bnxt.c @@ -5128,8 +5128,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); @@ -5183,12 +5183,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; } }