netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] ethtool: Add support for writing firmware
@ 2024-09-06  5:56 Danielle Ratson
  2024-09-06  5:56 ` [PATCH net-next 1/2] net: ethtool: Add new parameters and a function to support EPL Danielle Ratson
  2024-09-06  5:57 ` [PATCH net-next 2/2] net: ethtool: Add support for writing firmware blocks using EPL payload Danielle Ratson
  0 siblings, 2 replies; 7+ messages in thread
From: Danielle Ratson @ 2024-09-06  5:56 UTC (permalink / raw)
  To: netdev
  Cc: davem, edumazet, kuba, pabeni, yuehaibing, linux-kernel, petrm,
	danieller

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

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(-)

-- 
2.45.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-10  8:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06  5:56 [PATCH net-next 0/2] ethtool: Add support for writing firmware Danielle Ratson
2024-09-06  5:56 ` [PATCH net-next 1/2] net: ethtool: Add new parameters and a function to support EPL Danielle Ratson
2024-09-06 15:36   ` Andrew Lunn
2024-09-08 12:33     ` Danielle Ratson
2024-09-06  5:57 ` [PATCH net-next 2/2] net: ethtool: Add support for writing firmware blocks using EPL payload Danielle Ratson
2024-09-07 14:10   ` Simon Horman
2024-09-10  8:53     ` Danielle Ratson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).