linux/drivers/net/ethernet/intel/fm10k
Alexander Duyck 09f8a82b6a fm10k: Cleanup exception handling for changing queues
This patch is meant to cleanup the exception handling for the paths where
we reset the interrupts and then reconfigure them.  In all of these paths
we had very different levels of exception handling.  I have updated the
driver so that all of the paths should result in a similar state if we
fail.

Specifically the driver will now unload the mailbox interrupt, free the
queue vectors and MSI-X, and then detach the interface.

In addition for any of the PCIe related resets I have added a check with
the hw_ready function to just make sure the registers are in a readable
state prior to reopening the interface.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Reviewed-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-12-22 04:50:11 -08:00
..
fm10k.h fm10k: initialize xps at driver load 2015-12-13 15:28:43 -08:00
fm10k_common.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_common.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_dcbnl.c fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00
fm10k_debugfs.c fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00
fm10k_ethtool.c fm10k: cleanup overly long lines 2015-12-13 15:28:38 -08:00
fm10k_iov.c fm10k: add support for extra debug statistics 2015-09-22 15:58:27 -07:00
fm10k_main.c fm10k: don't initialize fm10k_workqueue at global level 2015-12-22 04:20:19 -08:00
fm10k_mbx.c fm10k: cleanup overly long lines 2015-12-13 15:28:38 -08:00
fm10k_mbx.h fm10k: add statistics for actual DWORD count of mbmem mailbox 2015-12-05 23:55:18 -08:00
fm10k_netdev.c fm10k: Cleanup exception handling for changing queues 2015-12-22 04:50:11 -08:00
fm10k_pci.c fm10k: Cleanup exception handling for changing queues 2015-12-22 04:50:11 -08:00
fm10k_pf.c fm10k: cleanup overly long lines 2015-12-13 15:28:38 -08:00
fm10k_pf.h fm10k: correctly pack TLV structures and explain reasoning 2015-12-22 04:32:14 -08:00
fm10k_ptp.c fm10k: fix incorrect free on skb in ts_tx_enqueue 2015-06-17 14:20:36 -07:00
fm10k_tlv.c fm10k: cleanup namespace pollution 2015-12-13 15:28:32 -08:00
fm10k_tlv.h fm10k: cleanup namespace pollution 2015-12-13 15:28:32 -08:00
fm10k_type.h fm10k: use BIT() macro instead of open-coded bit-shifting 2015-12-13 15:28:26 -08:00
fm10k_vf.c fm10k: whitespace cleanups 2015-12-13 15:28:21 -08:00
fm10k_vf.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
Makefile fm10k: conditionally compile DCB and DebugFS support 2015-12-13 15:27:59 -08:00