This series contains updates to the ice driver only. Bruce adds the __always_unused attribute to a parameter to avoid compiler warnings when using -Wunused-parameter. Fixed unnecessary type-casting and the use of sizeof(). Fix the allocation of structs that have become memory hogs, so allocate them in heaps and fix all the associated references. Fixed the "possible" numeric overflow issues that were caught with static analysis.
Maciej fixes the maximum MTU calculation by taking into account double VLAN tagging amd ensure that the operations are done in the correct order. Victor fixes the supported node calculation, where we were not taking into account if there is space to add the new VSI or intermediate node above that layer, then it is not required to continue the calculation. Added a check for a leaf node presence for a given VSI, which is needed before removing a VSI. Jake fixes an issue where the VSI list is shared, so simply removing a VSI from the list will cause issues for the other users who reference the list. Since we also free the memory, this could lead to segmentation faults. Brett fixes an issue where driver unload could cause a system reboot when intel_iommu=on parameter is set. The issue is that we are not clearing the CAUSE_ENA bit for the appropriate control queues register when freeing the miscellaneous interrupt vector. Mitch is so kind, he prevented spamming the VF with link messages when the link status really has not changed. Updates the driver to use the absolute vector ID and not the per-PF vector ID for the VF MSIx vector allocation. Lukasz fixes the ethtool pause parameter for the ice driver, which was originally based off the link status but is now based off the PHY configuration. This is to resolve an issue where pause parameters could be set while link was down. Jesse updates the string that reports statistics so the string does not get modified at runtime and cause reports of string truncation. The following are changes since commit e59d790959b48a42874fa2cb16475a621663f085: Merge branch 'net-phy-at803x-Update-delays-for-RGMII-modes' and are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 100GbE Brett Creeley (2): ice: fix issue where host reboots on unload when iommu=on ice: only use the VF for ICE_VSI_VF in ice_vsi_release Bruce Allan (4): ice: Mark extack argument as __always_unused ice: sizeof(<type>) should be avoided ice: fix stack hogs from struct ice_vsi_ctx structures ice: fix numeric overflow warning Jacob Keller (1): ice: fix ice_remove_rule_internal vsi_list handling Jesse Brandeburg (1): ice: fix overlong string, update stats output Lukasz Czapnik (1): ice: Fix for FC get rx/tx pause params Maciej Fijalkowski (1): ice: Fix the calculation of ICE_MAX_MTU Mitch Williams (3): ice: don't spam VFs with link messages ice: clear VF ARQLEN register on reset ice: use absolute vector ID for VFs Victor Raj (3): ice: Fix added in VSI supported nodes calc ice: flush Tx pipe on disable queue timeout ice: check for a leaf node presence drivers/net/ethernet/intel/ice/ice.h | 2 +- drivers/net/ethernet/intel/ice/ice_common.c | 21 ++- drivers/net/ethernet/intel/ice/ice_ethtool.c | 132 +++++++++-------- .../net/ethernet/intel/ice/ice_hw_autogen.h | 1 + drivers/net/ethernet/intel/ice/ice_lib.c | 112 +++++++++------ drivers/net/ethernet/intel/ice/ice_main.c | 133 ++++++++++++------ drivers/net/ethernet/intel/ice/ice_nvm.c | 7 +- drivers/net/ethernet/intel/ice/ice_sched.c | 41 +++++- drivers/net/ethernet/intel/ice/ice_status.h | 1 + drivers/net/ethernet/intel/ice/ice_switch.c | 17 ++- drivers/net/ethernet/intel/ice/ice_txrx.c | 26 ++-- .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 70 +++++---- 12 files changed, 364 insertions(+), 199 deletions(-) -- 2.20.1