linux/drivers/net/ethernet/intel/ice
Brett Creeley 5abac9d7e1 ice: Put __ICE_PREPARED_FOR_RESET check in ice_prepare_for_reset
Currently we check if the __ICE_PREPARED_FOR_RESET bit is set prior to
calling ice_prepare_for_reset in ice_reset_subtask(), but we aren't
checking that bit in ice_do_reset() before calling
ice_prepare_for_reset(). This is not consistent and can cause issues if
ice_prepare_for_reset() is called prior to ice_do_reset(). Fix this by
checking if the __ICE_PREPARED_FOR_RESET bit is set internal to
ice_prepare_for_reset().

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-03-26 13:40:20 -07:00
..
ice_adminq_cmd.h ice : Ensure only valid bits are set in ice_aq_set_phy_cfg 2019-03-19 16:52:47 -07:00
ice_common.c ice: Create a generic name for the ice_rx_flg64_bits structure 2019-03-25 10:40:04 -07:00
ice_common.h ice: Enable link events over the ARQ 2019-03-25 07:54:44 -07:00
ice_controlq.c ice: Use Tx|Rx in comments 2018-11-20 11:39:04 -08:00
ice_controlq.h ice: Update expected FW version 2018-10-24 13:56:37 -07:00
ice_devids.h ice: Change device ID define names to align with branding string 2018-10-24 13:53:30 -07:00
ice_ethtool.c ice: fix some function prototype and signature style issues 2019-03-22 08:19:17 -07:00
ice_hw_autogen.h ice: configure GLINT_ITR to always have an ITR gran of 2 2019-03-19 16:56:10 -07:00
ice_lan_tx_rx.h ice: Create a generic name for the ice_rx_flg64_bits structure 2019-03-25 10:40:04 -07:00
ice_lib.c ice: add and use new ice_for_each_traffic_class() macro 2019-03-25 10:33:54 -07:00
ice_lib.h ice: Add support for PF/VF promiscuous mode 2019-03-22 08:19:17 -07:00
ice_main.c ice: Put __ICE_PREPARED_FOR_RESET check in ice_prepare_for_reset 2019-03-26 13:40:20 -07:00
ice_nvm.c ice: fix numeric overflow warning 2019-02-25 08:56:01 -08:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_sched.c ice: add and use new ice_for_each_traffic_class() macro 2019-03-25 10:33:54 -07:00
ice_sched.h ice: Move aggregator list into ice_hw instance 2019-01-15 11:21:13 -08:00
ice_sriov.c ice: Add support for new PHY types 2019-01-15 12:38:44 -08:00
ice_sriov.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_status.h ice: check for a leaf node presence 2019-02-25 08:56:01 -08:00
ice_switch.c ice: Set LAN_EN for all directional rules 2019-03-22 08:20:05 -07:00
ice_switch.h ice: Add support for PF/VF promiscuous mode 2019-03-22 08:19:17 -07:00
ice_txrx.c ice: map Rx buffer pages with DMA attributes 2019-03-25 10:10:39 -07:00
ice_txrx.h ice: map Rx buffer pages with DMA attributes 2019-03-25 10:10:39 -07:00
ice_type.h ice: add and use new ice_for_each_traffic_class() macro 2019-03-25 10:33:54 -07:00
ice_virtchnl_pf.c ice: use virt channel status codes 2019-03-26 13:35:04 -07:00
ice_virtchnl_pf.h ice: fix some function prototype and signature style issues 2019-03-22 08:19:17 -07:00
ice.h ice: Add support for PF/VF promiscuous mode 2019-03-22 08:19:17 -07:00
Makefile ice: Add support for VF reset events 2018-10-03 07:42:30 -07:00