From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 0/2] nfp: ethtool flash updates Date: Fri, 15 Dec 2017 12:26:53 -0500 (EST) Message-ID: <20171215.122653.1143320078306215873.davem@davemloft.net> References: <20171213224502.25407-1-jakub.kicinski@netronome.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, oss-drivers@netronome.com To: jakub.kicinski@netronome.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:53582 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755428AbdLOR05 (ORCPT ); Fri, 15 Dec 2017 12:26:57 -0500 In-Reply-To: <20171213224502.25407-1-jakub.kicinski@netronome.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Jakub Kicinski Date: Wed, 13 Dec 2017 14:45:00 -0800 > Dirk says: > > This series adds the ability to update the control FW with ethtool. > > It should be noted that the locking scheme here is to release the RTNL > lock before the flashing operation and to take it again afterwards to > ensure consistent state from the core code point of view. In this time, > we take a reference to the device to prevent the device being freed > while its being flashed. > > This provides protection for the device being flashed while at the same > time not holding up any networking related functions which would > otherwise be locked out due to RTNL being held. Series applied, thanks.