netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] mlxsw: Add support for devlink info command
@ 2019-04-08  6:59 Ido Schimmel
  2019-04-08  6:59 ` [PATCH net-next v2 1/3] mlxsw: reg: Add MGIR register Ido Schimmel
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ido Schimmel @ 2019-04-08  6:59 UTC (permalink / raw)
  To: netdev@vger.kernel.org
  Cc: davem@davemloft.net, Jiri Pirko, Shalom Toledo,
	jakub.kicinski@netronome.com, mlxsw, Ido Schimmel

Shalom says:

Expose the following ASIC information via devlink info command:
  - Driver name
  - Hardware revision
  - Firmware PSID
  - Running firmware version

Standard output example:
  $ devlink dev info pci/0000:03:00.0
  pci/0000:03:00.0:
    versions:
        fixed:
          hw.revision A0
          fw.psid MT_2750110033
        running:
          fw.version 13.1910.622

Pretty JSON example:
  $ devlink -jp dev info pci/0000:03:00.0
  {
      "info": {
          "pci/0000:03:00.0": {
              "versions": {
                  "fixed": {
                      "hw.revision": "A0",
                      "fw.psid": "MT_2750110033"
                  },
                  "running": {
                      "fw.version": "13.1910.622"
                  }
              }
          }
      }
  }

v2:
  - Add fw.psid documentation
  - Add driver name

Shalom Toledo (3):
  mlxsw: reg: Add MGIR register
  mlxsw: core: Add support for devlink info command
  Documentation: networking: devlink-info-versions: Add fw.psid

 .../networking/devlink-info-versions.rst      |  5 ++
 drivers/net/ethernet/mellanox/mlxsw/core.c    | 41 ++++++++++++++
 drivers/net/ethernet/mellanox/mlxsw/reg.h     | 55 +++++++++++++++++++
 3 files changed, 101 insertions(+)

-- 
2.20.1


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

end of thread, other threads:[~2019-04-08 23:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-08  6:59 [PATCH net-next v2 0/3] mlxsw: Add support for devlink info command Ido Schimmel
2019-04-08  6:59 ` [PATCH net-next v2 1/3] mlxsw: reg: Add MGIR register Ido Schimmel
2019-04-08  6:59 ` [PATCH net-next v2 2/3] mlxsw: core: Add support for devlink info command Ido Schimmel
2019-04-08  6:59 ` [PATCH net-next v2 3/3] Documentation: networking: devlink-info-versions: Add fw.psid Ido Schimmel
2019-04-08 18:31   ` Jakub Kicinski
2019-04-08 23:28 ` [PATCH net-next v2 0/3] mlxsw: Add support for devlink info command David Miller

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