Re: [PATCH net-next 3/9] bnxt_en: parse result field when NVRAM package install fails
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-03-07 22:14:05
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-03-07 22:14:05
On Sat, 5 Mar 2022 03:54:36 -0500 Michael Chan wrote:
From: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Instead of always returning -ENOPKG, decode the firmware error code further when the HWRM_NVM_INSTALL_UPDATE firmware call fails. Return a more suitable error code to userspace and log an error in dmesg.
devlink fw flashing allows for the msg to be reported directly to the user, that's more friendly than having to scan logs.