From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: [PATCH net-next 1/3] devlink: Add fw_version_check generic parameter Date: Tue, 6 Nov 2018 12:19:13 -0800 Message-ID: <20181106121913.036b8c4d@cakuba.netronome.com> References: <20181106200314.29918-1-idosch@mellanox.com> <20181106200314.29918-2-idosch@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" , "davem@davemloft.net" , Jiri Pirko , Shalom Toledo , Moshe Shemesh , "dsahern@gmail.com" , "andrew@lunn.ch" , "f.fainelli@gmail.com" , mlxsw To: Ido Schimmel Return-path: Received: from mail-qt1-f195.google.com ([209.85.160.195]:43667 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbeKGFqP (ORCPT ); Wed, 7 Nov 2018 00:46:15 -0500 Received: by mail-qt1-f195.google.com with SMTP id i7so4174302qtj.10 for ; Tue, 06 Nov 2018 12:19:19 -0800 (PST) In-Reply-To: <20181106200314.29918-2-idosch@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 6 Nov 2018 20:05:00 +0000, Ido Schimmel wrote: > From: Shalom Toledo > > Many drivers checking the device's firmware version during the > initialization flow and flashing a compatible version if the current > version is not. > > fw_version_check gives the ability to skip this check which allows to run > the device with a different firmware version than required by the driver > for testing and/or debugging purposes. > > Signed-off-by: Shalom Toledo > Reviewed-by: Jiri Pirko > Signed-off-by: Ido Schimmel The documentation is missing, so it's hard to comment on the definition of the parameter... We have a FW loading policy for NFP, too, so it'd be good to see if we can find a common ground.