linux/drivers/net/ethernet/intel/ice
Paul M Stillwell Jr 2ec5638559 ice: handle increasing Tx or Rx ring sizes
There is an issue when the Tx or Rx ring size increases using
'ethtool -L ...' where the new rings don't get the correct ITR
values because when we rebuild the VSI we don't know that some
of the rings may be new.

Fix this by looking at the original number of rings and
determining if the rings in ice_vsi_rebuild_set_coalesce()
were not present in the original rings received in
ice_vsi_rebuild_get_coalesce().

Also change the code to return an error if we can't allocate
memory for the coalesce data in ice_vsi_rebuild().

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-03-31 14:21:27 -07:00
..
ice.h ice: Check FDIR program status for AVF 2021-03-22 11:32:12 -07:00
ice_adminq_cmd.h ice: Update to use package info from ice segment 2021-03-31 14:21:27 -07:00
ice_arfs.c ice: Delay netdev registration 2021-03-31 14:21:27 -07:00
ice_arfs.h
ice_base.c ice: Add Support for XPS 2021-03-31 14:21:27 -07:00
ice_base.h
ice_common.c ice: Fix prototype warnings 2021-03-23 11:34:02 -07:00
ice_common.h ice: implement new LLDP filter command 2021-02-08 16:27:01 -08:00
ice_controlq.c ice: remove unnecessary casts 2021-02-08 16:27:01 -08:00
ice_controlq.h
ice_dcb.c ice: Fix prototype warnings 2021-03-23 11:34:02 -07:00
ice_dcb.h
ice_dcb_lib.c ice: Refactor DCB related variables out of the ice_port_info struct 2021-02-08 16:27:01 -08:00
ice_dcb_lib.h
ice_dcb_nl.c ice: Fix state bits on LLDP mode switch 2021-02-22 11:28:57 -08:00
ice_dcb_nl.h
ice_devids.h
ice_devlink.c ice: display stored UNDI firmware version via devlink info 2021-02-05 11:44:16 -08:00
ice_devlink.h
ice_ethtool.c intel: Update drivers to use ethtool_sprintf 2021-03-17 11:42:30 -07:00
ice_ethtool_fdir.c ice: Enable FDIR Configure for AVF 2021-03-22 11:32:12 -07:00
ice_fdir.c ice: Fix prototype warnings 2021-03-23 11:34:02 -07:00
ice_fdir.h ice: Add more FDIR filter type for AVF 2021-03-22 11:32:12 -07:00
ice_flex_pipe.c ice: Update to use package info from ice segment 2021-03-31 14:21:27 -07:00
ice_flex_pipe.h ice: Support to separate GTP-U uplink and downlink 2021-03-22 11:32:12 -07:00
ice_flex_type.h ice: Update to use package info from ice segment 2021-03-31 14:21:27 -07:00
ice_flow.c ice: Add non-IP Layer2 protocol FDIR filter for AVF 2021-03-22 11:32:12 -07:00
ice_flow.h ice: Add non-IP Layer2 protocol FDIR filter for AVF 2021-03-22 11:32:12 -07:00
ice_fltr.c
ice_fltr.h
ice_fw_update.c ice: report timeout length for erasing during devlink flash 2021-02-05 09:34:24 -08:00
ice_fw_update.h
ice_hw_autogen.h ice: Check FDIR program status for AVF 2021-03-22 11:32:12 -07:00
ice_lag.c ice: Add initial support framework for LAG 2021-02-08 16:27:01 -08:00
ice_lag.h ice: Add initial support framework for LAG 2021-02-08 16:27:01 -08:00
ice_lan_tx_rx.h ice: Check FDIR program status for AVF 2021-03-22 11:32:12 -07:00
ice_lib.c ice: handle increasing Tx or Rx ring sizes 2021-03-31 14:21:27 -07:00
ice_lib.h
ice_main.c ice: Delay netdev registration 2021-03-31 14:21:27 -07:00
ice_nvm.c ice: display stored UNDI firmware version via devlink info 2021-02-05 11:44:16 -08:00
ice_nvm.h ice: display stored UNDI firmware version via devlink info 2021-02-05 11:44:16 -08:00
ice_osdep.h
ice_protocol_type.h ice: Add more advanced protocol support in flow filter 2021-03-22 11:32:12 -07:00
ice_sched.c ice: Fix prototype warnings 2021-03-23 11:34:02 -07:00
ice_sched.h ice: Use PSM clock frequency to calculate RL profiles 2021-02-08 16:27:01 -08:00
ice_sriov.c
ice_sriov.h
ice_status.h ice: display stored netlist versions via devlink info 2021-02-05 11:43:37 -08:00
ice_switch.c ice: remove unnecessary casts 2021-02-08 16:27:01 -08:00
ice_switch.h
ice_txrx.c Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2021-03-25 16:30:46 -07:00
ice_txrx.h ice: handle increasing Tx or Rx ring sizes 2021-03-31 14:21:27 -07:00
ice_txrx_lib.c ice: Fix fall-through warnings for Clang 2021-03-23 11:34:02 -07:00
ice_txrx_lib.h
ice_type.h ice: Update to use package info from ice segment 2021-03-31 14:21:27 -07:00
ice_virtchnl_fdir.c ice: Check FDIR program status for AVF 2021-03-22 11:32:12 -07:00
ice_virtchnl_fdir.h ice: Check FDIR program status for AVF 2021-03-22 11:32:12 -07:00
ice_virtchnl_pf.c ice: Fix prototype warnings 2021-03-23 11:34:02 -07:00
ice_virtchnl_pf.h ice: Enable FDIR Configure for AVF 2021-03-22 11:32:12 -07:00
ice_xsk.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-03-25 15:31:22 -07:00
ice_xsk.h
Makefile ice: Enable FDIR Configure for AVF 2021-03-22 11:32:12 -07:00