Skip to content

Commit 5ea73bf

Browse files
Edward Creekuba-moo
authored andcommitted
sfc: document devlink flash support
Update the information in sfc's devlink documentation including support for firmware update with devlink flash. Also update the help text for CONFIG_SFC_MTD, as it is no longer strictly required for firmware updates. Signed-off-by: Edward Cree <ecree.xilinx@gmail.com> Link: https://patch.msgid.link/3476b0ef04a0944f03e0b771ec8ed1a9c70db4dc.1739186253.git.ecree.xilinx@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 3ed6398 commit 5ea73bf

File tree

2 files changed

+18
-3
lines changed
  • drivers/net/ethernet/sfc

2 files changed

+18
-3
lines changed

Documentation/networking/devlink/sfc.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sfc devlink support
55
===================
66

77
This document describes the devlink features implemented by the ``sfc``
8-
device driver for the ef100 device.
8+
device driver for the ef10 and ef100 devices.
99

1010
Info versions
1111
=============
@@ -18,6 +18,10 @@ The ``sfc`` driver reports the following versions
1818
* - Name
1919
- Type
2020
- Description
21+
* - ``fw.bundle_id``
22+
- stored
23+
- Version of the firmware "bundle" image that was last used to update
24+
multiple components.
2125
* - ``fw.mgmt.suc``
2226
- running
2327
- For boards where the management function is split between multiple
@@ -55,3 +59,13 @@ The ``sfc`` driver reports the following versions
5559
* - ``fw.uefi``
5660
- running
5761
- UEFI driver version (No UNDI support).
62+
63+
Flash Update
64+
============
65+
66+
The ``sfc`` driver implements support for flash update using the
67+
``devlink-flash`` interface. It supports updating the device flash using a
68+
combined flash image ("bundle") that contains multiple components (on ef10,
69+
typically ``fw.mgmt``, ``fw.app``, ``fw.exprom`` and ``fw.uefi``).
70+
71+
The driver does not support any overwrite mask flags.

drivers/net/ethernet/sfc/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ config SFC_MTD
3838
default y
3939
help
4040
This exposes the on-board flash and/or EEPROM as MTD devices
41-
(e.g. /dev/mtd1). This is required to update the firmware or
42-
the boot configuration under Linux.
41+
(e.g. /dev/mtd1). This is required to update the boot
42+
configuration under Linux, or use some older userland tools to
43+
update the firmware.
4344
config SFC_MCDI_MON
4445
bool "Solarflare SFC9100-family hwmon support"
4546
depends on SFC && HWMON && !(SFC=y && HWMON=m)

0 commit comments

Comments
 (0)