• David S. Miller's avatar
    Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · f4f7981e
    David S. Miller authored
    Jeff Kirsher says:
    
    ====================
    40GbE Intel Wired LAN Driver Updates 2015-12-03
    
    This series contains updates to i40e and i40evf only.
    
    Mitch updates the i40evf driver by increasing the maximum number of queues,
    since future devices will allow for more queue pairs.  Cleans up a
    duplicate printing of the driver info string done in init, since it is
    already done in probe.  Cleaned up the several allocations which did
    not need to be at atomic level, where GFP_KERNEL would work just fine.
    Then makes i40e_sync_vsi_filters() a more mature function, make having
    a common exit point so it will properly release the busy lock on the VSI
    and propagate errors to the callers.  Then does some whitespace
    housekeeping in i40evf.
    
    Kiran moves and updates the detection/recovery of transmit queue hang code
    to service_task from tx_timeout function.  Also fixed memory leak when
    users program flow-director filter using ethtool (sideband filter
    programming), the cause being the check of 'tx_buffer->skb' was preventing
    'raw_buf' from being freed as part of the cleanup.
    
    Jesse enabled the ability to turn off/on packet split using ethtool priv
    flags.  Then does some housekeeping for both the i40e and i40evf drivers
    which includes: remove unused/useless code, correct whitespace, remove
    duplicate #include, fix incorrect comment, etc...
    
    Neerav cleans up functions to gather Flow Control Rx XOFF stats, since
    the recent change in the driver logic for checking transmit hang has been
    moved, so these functions do not do anything meaningful any longer.
    ====================
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f4f7981e
i40e_main.c 304 KB