Skip to content

bnxt_en: Improve firmware flashing.

Michael Chan netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5bnxt_en: Refactor bnxt_flash_nvram.drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c+32 -190 repliesApplied
2/5bnxt_en: Rearrange the logic in bnxt_flash_package_from_fw_obj().drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c+30 -330 repliesApplied
3/5bnxt_en: Restructure bnxt_flash_package_from_fw_obj() to execute in a loop.drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c+28 -320 repliesApplied
4/5bnxt_en: Retry installing FW package under NO_SPACE error condition.drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c+32 -50 repliesApplied
5/5bnxt_en: Enable batch mode when using HWRM_NVM_MODIFY to flash packages.drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c+40 -90 repliesApplied

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchEdwin PeerVasundhara Volam
1/5
2/5
3/5
4/5R-b R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/5] bnxt_en: Improve firmware flashing.

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(-)
Signature · 1 line
2.18.1