]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nfp-ethtool-flash-updates'
authorDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 17:26:13 +0000 (12:26 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 17:26:13 +0000 (12:26 -0500)
commitb0c355aa88c61c2e884f2b14cc9b10cbc3903a5f
treea73165cbe777aa41bbefa16b028270dbe8b31d7a
parent9cfbb3806513a6fb7a2081a2f0185c74e73006db
parent82300669958678958edc9265bd411b7f6dc387c9
Merge branch 'nfp-ethtool-flash-updates'

Jakub Kicinski says:

====================
nfp: ethtool flash updates

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

Signed-off-by: David S. Miller <davem@davemloft.net>