Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

devlink: document info versions for each driver

Add the set of info versions reported by each device driver, including
a description of what the version represents, and what modes (fixed,
running, stored) it reports.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Cc: Saeed Mahameed <saeedm@mellanox.com>
Cc: Leon Romanovsky <leonro@mellanox.com>
Cc: Michael Chan <michael.chan@broadcom.com>
Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jacob Keller and committed by
David S. Miller
d4255d75 6c39e015

+84
+18
Documentation/networking/devlink/mlx5.rst
··· 39 39 firmware intervention. 40 40 41 41 The ``mlx5`` driver supports reloading via ``DEVLINK_CMD_RELOAD`` 42 + 43 + Info versions 44 + ============= 45 + 46 + The ``mlx5`` driver reports the following versions 47 + 48 + .. list-table:: devlink info versions implemented 49 + :widths: 5 5 90 50 + 51 + * - Name 52 + - Type 53 + - Description 54 + * - ``fw.psid`` 55 + - fixed 56 + - Used to represent the board id of the device. 57 + * - ``fw.version`` 58 + - stored, running 59 + - Three digit major.minor.subminor firmware version number.
+21
Documentation/networking/devlink/mlxsw.rst
··· 36 36 immediately after the value is set. 37 37 38 38 The ``mlxsw`` driver supports reloading via ``DEVLINK_CMD_RELOAD`` 39 + 40 + Info versions 41 + ============= 42 + 43 + The ``mlx5`` driver reports the following versions 44 + 45 + .. list-table:: devlink info versions implemented 46 + :widths: 5 5 90 47 + 48 + * - Name 49 + - Type 50 + - Description 51 + * - ``hw.revision`` 52 + - fixed 53 + - The hardware revision for this board 54 + * - ``fw.psid`` 55 + - fixed 56 + - Firmware PSID 57 + * - ``fw.version`` 58 + - running 59 + - Three digit firmware version
+45
Documentation/networking/devlink/nfp.rst
··· 18 18 - permanent 19 19 * - ``reset_dev_on_drv_probe`` 20 20 - permanent 21 + 22 + Info versions 23 + ============= 24 + 25 + The ``nfp`` driver reports the following versions 26 + 27 + .. list-table:: devlink info versions implemented 28 + :widths: 5 5 90 29 + 30 + * - Name 31 + - Type 32 + - Description 33 + * - ``board.id`` 34 + - fixed 35 + - Part number identifying the board design 36 + * - ``board.rev`` 37 + - fixed 38 + - Revision of the board design 39 + * - ``board.manufacture`` 40 + - fixed 41 + - Vendor of the board design 42 + * - ``board.model`` 43 + - fixed 44 + - Model name of the board design 45 + * - ``fw.bundle_id`` 46 + - stored, running 47 + - Firmware bundle id 48 + * - ``fw.mgmt`` 49 + - stored, running 50 + - Version of the management firmware 51 + * - ``fw.cpld`` 52 + - stored, running 53 + - The CPLD firmware component version 54 + * - ``fw.app`` 55 + - stored, running 56 + - The APP firmware component version 57 + * - ``fw.undi`` 58 + - stored, running 59 + - The UNDI firmware component version 60 + * - ``fw.ncsi`` 61 + - stored, running 62 + - The NSCI firmware component version 63 + * - ``chip.init`` 64 + - stored, running 65 + - The CFGR firmware component version