linux/drivers/net/ethernet/intel/ice
Brett Creeley a85a3847fb ice: Always free/allocate q_vectors
Currently when probing/removing the driver we allocate/deallocate
each vsi->q_vectors array in ice_vsi_alloc_arrays() and
ice_vsi_free_arrays() respectively. However, we don't do this
during the reset and VSI rebuild flow. This is inconsistent
and unnecessary to have a difference between the two flows.

This patch makes the change to always allocate/deallocate the
vsi->q_vectors array regardless of the driver flow we are in.

Also, update the comment for ice_vsi_free_arrays() to be more
descriptive.

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-05-04 14:22:55 -07:00
..
ice.h ice: Add more validation in ice_vc_cfg_irq_map_msg 2019-05-04 14:18:27 -07:00
ice_adminq_cmd.h ice: Add 52 byte RSS hash key support 2019-05-02 01:11:47 -07:00
ice_common.c ice: Do not unnecessarily initialize local variable 2019-05-04 14:21:01 -07:00
ice_common.h ice: Create framework for VSI queue context 2019-05-02 00:57:44 -07:00
ice_controlq.c ice: Fix incorrect use of abbreviations 2019-04-18 08:38:47 -07:00
ice_controlq.h ice: Update expected FW version 2018-10-24 13:56:37 -07:00
ice_dcb.c ice: Add code to control FW LLDP and DCBX 2019-04-18 08:38:48 -07:00
ice_dcb.h ice: Add code to control FW LLDP and DCBX 2019-04-18 08:38:48 -07:00
ice_dcb_lib.c ice: Add code for DCB rebuild 2019-04-18 08:38:48 -07:00
ice_dcb_lib.h ice: Add code for DCB rebuild 2019-04-18 08:38:48 -07:00
ice_devids.h
ice_ethtool.c ice: Add missing PHY type to link settings 2019-05-02 01:23:42 -07:00
ice_hw_autogen.h ice: Add more validation in ice_vc_cfg_irq_map_msg 2019-05-04 14:18:27 -07:00
ice_lan_tx_rx.h ice: Fix incorrect use of abbreviations 2019-04-18 08:38:47 -07:00
ice_lib.c ice: Always free/allocate q_vectors 2019-05-04 14:22:55 -07:00
ice_lib.h ice: Add ability to update rx-usecs-high 2019-05-02 01:13:39 -07:00
ice_main.c ice: Fix for allowing too many MDD events on VF 2019-05-04 13:42:53 -07:00
ice_nvm.c ice: Fix incorrect use of abbreviations 2019-04-18 08:38:47 -07:00
ice_osdep.h
ice_sched.c ice: Create framework for VSI queue context 2019-05-02 00:57:44 -07:00
ice_sched.h ice: Add code for DCB initialization part 3/4 2019-04-18 08:38:47 -07:00
ice_sriov.c ice: Add support for new PHY types 2019-01-15 12:38:44 -08:00
ice_sriov.h
ice_status.h ice: Add code for DCB initialization part 2/4 2019-04-18 08:38:47 -07:00
ice_switch.c ice: Create framework for VSI queue context 2019-05-02 00:57:44 -07:00
ice_switch.h ice: Create framework for VSI queue context 2019-05-02 00:57:44 -07:00
ice_txrx.c ice: Add reg_idx variable in ice_q_vector structure 2019-05-02 01:21:56 -07:00
ice_txrx.h ice: Add ability to update rx-usecs-high 2019-05-02 01:13:39 -07:00
ice_type.h ice: Add code to get DCB related statistics 2019-04-18 08:38:47 -07:00
ice_virtchnl_pf.c ice: Add more validation in ice_vc_cfg_irq_map_msg 2019-05-04 14:18:27 -07:00
ice_virtchnl_pf.h ice: Fix incorrect use of abbreviations 2019-04-18 08:38:47 -07:00
Makefile ice: Add code for DCB initialization part 1/4 2019-04-18 08:38:47 -07:00