]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: call mcdi_reboot_detected() when MC reboots during an MCDI command
authorJon Cooper <jcooper@solarflare.com>
Wed, 8 Feb 2017 16:51:33 +0000 (16:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Feb 2017 21:47:53 +0000 (16:47 -0500)
commit77bcfb8211cb97a18bc7c733b5698c0b88ccefc8
treec9264574c790e8221f3d6e706060c908ba452160
parent43c50fc88f5e8fa1bad5ef921def92f03fe01ece
sfc: call mcdi_reboot_detected() when MC reboots during an MCDI command

This function wasn't being called in this particular case when the MC
 reboots. This caused resource reallocations to not be handled properly
 and often ended up disabling the interface.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/mcdi.c