netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] mlxsw: Add fw_version_check devlink parameter
@ 2018-11-06 20:04 Ido Schimmel
  2018-11-06 20:05 ` [PATCH net-next 1/3] devlink: Add fw_version_check generic parameter Ido Schimmel
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Ido Schimmel @ 2018-11-06 20:04 UTC (permalink / raw)
  To: netdev@vger.kernel.org
  Cc: davem@davemloft.net, Jiri Pirko, Shalom Toledo, Moshe Shemesh,
	dsahern@gmail.com, jakub.kicinski@netronome.com, andrew@lunn.ch,
	f.fainelli@gmail.com, mlxsw, Ido Schimmel

Shalom says:

Currently, drivers do not have the ability to skip the firmware version
check during their initialization flow. Hence, drivers will always flash
a compatible version. This prevents drivers from running the device with
a different firmware version for testing and/or debugging purposes. For
example, testing a firmware bug fix.

For these situations, the new devlink generic parameter,
fw_version_check, gives the ability to skip the version check and allows
drivers to run with a different firmware version than what is required
by the driver.

Patch #1 adds the new parameter to devlink. The other two patches, #2
and #3, add support for this parameter in the mlxsw driver.

Shalom Toledo (3):
  devlink: Add fw_version_check generic parameter
  mlxsw: core: Reset firmware after flash during driver initialization
  mlxsw: spectrum: Skip firmware version check based on devlink
    parameter

 drivers/net/ethernet/mellanox/mlxsw/core.c    | 45 +++++++++++++++++--
 drivers/net/ethernet/mellanox/mlxsw/core.h    |  2 +
 drivers/net/ethernet/mellanox/mlxsw/pci.c     | 11 +----
 .../net/ethernet/mellanox/mlxsw/spectrum.c    | 45 +++++++++++++++++++
 include/net/devlink.h                         |  4 ++
 net/core/devlink.c                            |  5 +++
 6 files changed, 98 insertions(+), 14 deletions(-)

-- 
2.19.1

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

end of thread, other threads:[~2018-11-09  1:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-06 20:04 [PATCH net-next 0/3] mlxsw: Add fw_version_check devlink parameter Ido Schimmel
2018-11-06 20:05 ` [PATCH net-next 1/3] devlink: Add fw_version_check generic parameter Ido Schimmel
2018-11-06 20:19   ` Jakub Kicinski
2018-11-06 20:37     ` Ido Schimmel
2018-11-06 22:47       ` Jakub Kicinski
2018-11-07 10:11         ` Ido Schimmel
2018-11-07 19:05           ` Jakub Kicinski
2018-11-08 16:22             ` Ido Schimmel
2018-11-06 20:05 ` [PATCH net-next 2/3] mlxsw: core: Reset firmware after flash during driver initialization Ido Schimmel
2018-11-06 20:05 ` [PATCH net-next 3/3] mlxsw: spectrum: Skip firmware version check based on devlink parameter Ido Schimmel

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