diff options
author | Jon Cooper <jcooper@solarflare.com> | 2017-02-08 16:51:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-09 16:47:53 -0500 |
commit | 0ca2b46dbb645c1aa23eda6f5ac49a7be31ac87d (patch) | |
tree | c9264574c790e8221f3d6e706060c908ba452160 /drivers | |
parent | 8a531400623c52b09bc3b718e9a6142eb60a11a7 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/sfc/mcdi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi.c b/drivers/net/ethernet/sfc/mcdi.c |