diff options
| author | 2020-12-13 06:51:44 -0500 | |
|---|---|---|
| committer | 2020-12-14 18:52:43 -0800 | |
| commit | 2e5fb428a61ce58f9db6ceccdeb6dc292248f1dc (patch) | |
| tree | bceec7b3d582ebe5483fd2d547f5fff3e57cd249 /include/linux/phy/git:/ssh: | |
| parent | bnxt_en: Rearrange the logic in bnxt_flash_package_from_fw_obj(). (diff) | |
| download | linux-dev-2e5fb428a61ce58f9db6ceccdeb6dc292248f1dc.tar.xz linux-dev-2e5fb428a61ce58f9db6ceccdeb6dc292248f1dc.zip | |
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 'include/linux/phy/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
