Skip to content

ethtool: Add support for writing firmware

Danielle Ratson lkml netdev 5 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 0 repliesApplied 2/2
  2. v42 patches 3 repliesSuperseded
  3. v32 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches7 repliesSuperseded
v12 patches4 repliesSuperseded

v2 from the cover letter

* Fix the commit meassges to align the cover letter about the right meaning of LPL and EPL.
Patch #2:
* Initialize the variable 'bytes_written' before the first iteration.

Patches in v5 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: ethtool: Add new parameters and a function to support EPLnet/ethtool/cmis.h net/ethtool/cmis_cdb.c net/ethtool/cmis_fw_update.c+38 -230 repliesApplied
2/2net: ethtool: Add support for writing firmware blocks using EPL payloadnet/ethtool/cmis.h net/ethtool/cmis_cdb.c net/ethtool/cmis_fw_update.c+148 -130 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPetr MachataSimon Horman
1/2R-b R-b
2/2R-b R-b

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

Read the v5 thread

Cover letter [PATCH net-next v5 0/2] ethtool: Add support for writing firmware

In the CMIS specification for pluggable modules, LPL (Local Payload) and EPL (Extended Payload) are two types of data payloads used for managing various functions and features of the module.

EPL payloads are used for more complex and extensive management functions that require a larger amount of data, so writing firmware blocks using EPL is much more efficient.

Currently, only LPL payload is supported for writing firmware blocks to the module.

Add support for writing firmware block using EPL payload, both to support modules that support only EPL write mechanism, and to optimize the flashing process of modules that support LPL and EPL.

Running the flashing command on the same sample module using EPL vs. LPL showed an improvement of 84%.

Patchset overview:
Patch #1: preparations
Patch #2: Add EPL support

v5: Resending- no changes.

v4: Resending the right version after wrong v3.
No changes from v2.

v2:
* Fix the commit meassges to align the cover letter about the right meaning of LPL and EPL.
Patch #2:
* Initialize the variable 'bytes_written' before the first iteration.

Danielle Ratson (2):
net: ethtool: Add new parameters and a function to support EPL
net: ethtool: Add support for writing firmware blocks using EPL
payload

 net/ethtool/cmis.h           |  16 ++++--
 net/ethtool/cmis_cdb.c       |  94 +++++++++++++++++++++++++-----
 net/ethtool/cmis_fw_update.c | 108 +++++++++++++++++++++++++++++------
 3 files changed, 184 insertions(+), 34 deletions(-)
Signature · 1 line
2.45.0