1. 03 Dec, 2015 37 commits
  2. 02 Dec, 2015 3 commits
    • David S. Miller's avatar
      Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 117ce394
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates 2015-12-01
      
      This series contains updates to i40e and i40evf only.
      
      Helin adds new fields to i40e_vsi to store user configured RSS config data
      and the code to use it.  Also renamed RSS items to clarify functionality
      and scope to users.  Fixed a confusing kernel message of enabling RSS size
      by reporting it together with the hardware maximum RSS size.
      
      Anjali fixes the issue of forcing writeback too often causing us to not
      benefit from NAPI.
      
      Jesse adds a prefetch for data early in the transmit path to help immensely
      for pktgen and forwarding workloads.  Fixed the i40e driver that was
      possibly sleeping inside critical section of code.
      
      Carolyn fixes an issue where adminq init failures always provided a message
      that NVM was newer than expected, when this is not always the case for
      init_adminq failures.  Fixed by adding a check for that specific error
      condition and a different helpful message otherwise.
      
      Mitch fixes error message by telling the user which VF is being naughty,
      rather than making them guess.  Updated the queue_vector array from a
      statically-sized member of the adapter structure, to a dynamically-allocated
      and -sized array.  This reduces the size of the adapter structure and allows
      us to support any number of queue vectors in the future without changing the
      code.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      117ce394
    • Jesse Brandeburg's avatar
      i40e: remove unused argument · 17652c63
      Jesse Brandeburg authored
      With the final edition of the patches to remove sleeps from
      the driver's entry points, the grab_rtnl argument is no
      longer needed, so partially revert the commit that added it.
      
      Change-ID: Ib9778476242586cc9e58b670f5f48d415cb59003
      Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      17652c63
    • Jesse Brandeburg's avatar
      i40e: fix: do not sleep in netdev_ops · 0e4425ed
      Jesse Brandeburg authored
      The driver was being called by VLAN, bonding, teaming operations
      that expected to be able to hold locks like rcu_read_lock().
      
      This causes the driver to be held to the requirement to not sleep,
      and was found by the kernel debug options for checking sleep
      inside critical section, and the locking validator.
      
      Change-ID: Ibc68c835f5ffa8ffe0638ffe910a66fc5649a7f7
      Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      0e4425ed