]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: improve firmware timeout messaging
authorEdwin Peer <edwin.peer@broadcom.com>
Sun, 9 Jan 2022 23:54:45 +0000 (18:54 -0500)
committerJakub Kicinski <kuba@kernel.org>
Mon, 10 Jan 2022 00:27:24 +0000 (16:27 -0800)
commite490c2c49a5aeb98ec15c753410f7fca2a68ee8b
treeadc572623243798aee04244263f153ced71e471e
parent85fd1e528c7f3035bca44c8c0912a9c99d8eb542
bnxt_en: improve firmware timeout messaging

While it has always been possible to infer that an HWRM command was
abandoned due to an unhealthy firmware status by the shortened timeout
reported, this change improves the log messaging to account for this
case explicitly. In the interests of further clarity, the firmware
status is now also reported in these new messages.

v2: Remove inline keyword for hwrm_wait_must_abort() in .c file.

Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c
drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.h