1. 18 Sep, 2015 38 commits
  2. 17 Sep, 2015 2 commits
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · a2f23e08
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates 2015-09-15
      
      This series contains updates to ixgbe and fm10k.
      
      Don fixes a ixgbe issue by adding checks for systems that do not have
      SFP's to avoid incorrectly acting on interrupts that are falsely
      interpreted as SFP events.
      
      Alex Williamson adds a fix for ixgbe to disable SR-IOV prior to
      unregistering the netdev to avoid issues with guest OS's which do not
      support hot-unplug or their hot-unplug is broken.
      
      Alex Duyck update the lowest limit for adaptive interrupt interrupt
      moderation to about 12K interrupts per second for ixgbe.  This change
      increases the performance for ixgbe.  Also fixed up fm10k to remove
      the optimization that assumed that all fragments would be limited to
      page size, since that assumption is incorrect as the TCP allocator can
      provide up to a 32K page fragment.  Updated fm10k to add the MAC
      address to the list of values recorded on driver load.  Fixes fm10k
      so that we only trigger the data path reset if the fabric is ready to
      handle traffic to avoid triggering the reset unless the switch API is
      ready for us.
      
      Jacob updates the fm10k driver to disable the service task during
      suspend and re-enable it after we resume. If we don't do this, the
      device could be UP when you suspend and come back from resume as
      DOWN.  Also update fm10k to prevent the removal of default VID rules,
       and correctly remove the stack layers information of the VLAN, but then
      return to forwarding that VID as untagged frames.  If we deleted the VID
      rules here, we would begin dropping traffic due to VLAN membership
      violations.  Fixed fm10k to use pcie_get_minimum_link(), which is useful
      in cases where we connect to a slot at Gen3, but the slot is behind a bus
      which is only connected at Gen2.  Updated fm10k to update the netdev
      permanent address during reinit instead of up to enable users to
      immediately see the new MAC address on the VF even if the device is not
      up.  Adds the creation of VLAN interfaces on a device, even while the
      device is down for fm10k.  Fixed an issue where we request the incorrect
      MAC/VLAN combinations, and prevents us from accidentally reporting some
      frames as VLAN tagged.  Provided a couple of trivial fixes for fm10k
      to fix code style and typos in code comments.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a2f23e08
    • Thadeu Lima de Souza Cascardo's avatar
      net-sysfs: get_netdev_queue_index() cleanup · c4047f53
      Thadeu Lima de Souza Cascardo authored
      Redo commit ed1acc8c.
      
      Commit 822b3b2e ("net: Add max rate tx queue
      attribute") moved get_netdev_queue_index around, but kept the old version.
      Probably because of a reuse of the original patch from before Eric's change to
      that function.
      
      Remove one inline keyword, and no need for a loop to find
      an index into a table.
      Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@redhat.com>
      Fixes: 822b3b2e ("net: Add max rate tx queue attribute")
      Acked-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
      Acked-by: default avatarJohn Fastabend <john.r.fastabend@intel.com>
      Cc: Eric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c4047f53