diff options
author | Pavan Chebbi <pavan.chebbi@broadcom.com> | 2020-12-13 06:51:44 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-14 18:52:43 -0800 |
commit | 2e5fb428a61ce58f9db6ceccdeb6dc292248f1dc (patch) | |
tree | bceec7b3d582ebe5483fd2d547f5fff3e57cd249 /drivers/net/caif | |
parent | a9094ba6072bfabe93f93b641a3858d9c91c2c86 (diff) |
bnxt_en: Restructure bnxt_flash_package_from_fw_obj() to execute in a loop.
On NICs with a smaller NVRAM, FW installation may fail after multiple
updates due to fragmentation. The driver can retry when FW returns
a special error code. To faciliate the retry, we restructure the
logic that performs the flashing in a loop. The actual retry logic
will be added in the next patch.
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/caif')
0 files changed, 0 insertions, 0 deletions