Skip to content

Fixes T5 adapter init, due to incorrect FW version check

Hariprasad Shenai netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cxgb4: Much cleaner implementation of is_t4()/is_t5()drivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c drivers/net/ethernet/chelsio/cxgb4/sge.c +2 more+73 -700 replies
2/3cxgb4vf: added much cleaner implementation of is_t4()drivers/net/ethernet/chelsio/cxgb4/t4_regs.h drivers/net/ethernet/chelsio/cxgb4vf/adapter.h drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c +3 more+39 -160 replies
3/3cxgb4: Add new scheme to update T4/T5 firmwaredrivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c drivers/net/ethernet/chelsio/cxgb4/t4_hw.c +1 more+289 -1900 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net v2 0/3] Fixes T5 adapter init, due to incorrect FW version check

Hi All,

This patch series fixes, Chelsio T5 adapter initialization failure due to incorrect firmware version check. This patch series modifies the firmware flashing mechanism for T4/T5 adapter.

The patch series moves chip type from struct adapter to struct adapter_params. It changes the references of chip type in cxgb4 and cxgb4vf drivers such that build failure is avoided.

Patch 3/3 is dependent on patch 1/3
Patch 2/3 is also dependent on patch 1/3

We would like to request this patch series to get merged via David Miller's 'net' tree.

We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments.

Thanks

V2: Removed module parameter t4_fw_install

Hariprasad Shenai (3):
cxgb4: Much cleaner implementation of is_t4()/is_t5()
cxgb4vf: added much cleaner implementation of is_t4()
cxgb4: Add new scheme to update T4/T5 firmware

 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h         |  82 +++---
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c    | 278 +++++++++++----------
 drivers/net/ethernet/chelsio/cxgb4/sge.c           |  12 +-
 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c         | 230 ++++++++++-------
 drivers/net/ethernet/chelsio/cxgb4/t4_regs.h       |  14 ++
 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h      |   7 +-
 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h     |   1 -
 .../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c    |  15 +-
 drivers/net/ethernet/chelsio/cxgb4vf/sge.c         |   2 +-
 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h |  24 +-
 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c     |   4 +-
 11 files changed, 397 insertions(+), 272 deletions(-)
Signature · 1 line
1.8.0