1. 23 Oct, 2023 24 commits
  2. 22 Oct, 2023 9 commits
  3. 21 Oct, 2023 5 commits
  4. 20 Oct, 2023 2 commits
    • David S. Miller's avatar
      Merge branch 'ice-vf-resource-tracking' · 86a0348d
      David S. Miller authored
      Jacob Keller says:
      
      ====================
      Intel Wired LAN Driver Updates 2023-10-19 (ice, igb, ixgbe)
      
      This series contains improvements to the ice driver related to VF MSI-X
      resource tracking, as well as other minor cleanups.
      
      Dan fixes code in igb and ixgbe where the conversion to list_for_each_entry
      failed to account for logic which assumed a NULL pointer after iteration.
      
      Jacob makes ice_get_pf_c827_idx static, and refactors ice_find_netlist_node
      based on feedback that got missed before the function merged.
      
      Michal adds a switch rule to drop all traffic received by an inactive LAG
      port. He also implements ops to allow individual control of MSI-X vectors
      for SR-IOV VFs.
      
      Przemek removes some unused fields in struct ice_flow_entry, and modifies
      the ice driver to cache the VF PCI device inside struct ice_vf rather than
      performing lookup at run time.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      86a0348d
    • Dan Carpenter's avatar
      ixgbe: fix end of loop test in ixgbe_set_vf_macvlan() · a41654c3
      Dan Carpenter authored
      The list iterator in a list_for_each_entry() loop can never be NULL.
      If the loop exits without hitting a break then the iterator points
      to an offset off the list head and dereferencing it is an out of
      bounds access.
      
      Before we transitioned to using list_for_each_entry() loops, then
      it was possible for "entry" to be NULL and the comments mention
      this.  I have updated the comments to match the new code.
      
      Fixes: c1fec890 ("ethernet/intel: Use list_for_each_entry() helper")
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Reviewed-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: default avatarRafal Romanowski <rafal.romanowski@intel.com>
      Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a41654c3