Re: [PATCH net-next] mlxsw: spectrum: Implement the ethtool flash_device callback

2017-06-01 Thread David Miller
From: Yotam Gigi Date: Thu, 1 Jun 2017 16:26:46 +0300 > Add callback to the ethtool flash_device op. This callback uses the mlxfw > module to flash the new firmware file to the device. > > As the firmware flash process takes about 20 seconds and ethtool takes the > rtnl lock during the flash_de

[PATCH net-next] mlxsw: spectrum: Implement the ethtool flash_device callback

2017-06-01 Thread Yotam Gigi
Add callback to the ethtool flash_device op. This callback uses the mlxfw module to flash the new firmware file to the device. As the firmware flash process takes about 20 seconds and ethtool takes the rtnl lock during the flash_device callback, release the rtnl lock at the beginning of the flash