diff options
author | 2020-12-13 06:51:45 -0500 | |
---|---|---|
committer | 2020-12-14 18:52:44 -0800 | |
commit | 1432c3f6a6ca091db10b60c7b9078f34f4c5268d (patch) | |
tree | 3819cf759e4ad64f7ebd90dec96c6329c65813d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bnxt_en: Restructure bnxt_flash_package_from_fw_obj() to execute in a loop. (diff) | |
download | wireguard-linux-1432c3f6a6ca091db10b60c7b9078f34f4c5268d.tar.xz wireguard-linux-1432c3f6a6ca091db10b60c7b9078f34f4c5268d.zip |
bnxt_en: Retry installing FW package under NO_SPACE error condition.
In bnxt_flash_package_from_fw_obj(), if firmware returns the NO_SPACE
error, call __bnxt_flash_nvram() to create the UPDATE directory and
then loop back and retry one more time.
Since the first try may fail, we use the silent version to send the
firmware commands.
Reviewed-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions