This patchset improves firmware flashing in 2 ways:

- If firmware returns NO_SPACE error during flashing, the driver will
create the UPDATE directory with more staging area and retry.
- Instead of allocating a big DMA buffer for the entire contents of
the firmware package size, fallback to a smaller buffer to DMA the
contents in multiple DMA operations.

Michael Chan (2):
  bnxt_en: Rearrange the logic in bnxt_flash_package_from_fw_obj().
  bnxt_en: Enable batch mode when using HWRM_NVM_MODIFY to flash
    packages.

Pavan Chebbi (3):
  bnxt_en: Refactor bnxt_flash_nvram.
  bnxt_en: Restructure bnxt_flash_package_from_fw_obj() to execute in a
    loop.
  bnxt_en: Retry installing FW package under NO_SPACE error condition.

 .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 214 ++++++++++++------
 1 file changed, 139 insertions(+), 75 deletions(-)

-- 
2.18.1

Reply via email to