1. 12 1月, 2018 2 次提交
    • D
      Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 532b5aa0
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      40GbE Intel Wired LAN Driver Updates 2018-01-10
      
      This series contains updates to i40e and i40evf only.
      
      Alice adds the displaying of priority xon/xoff packet stats, since we
      were already keeping track of them.  Based on the recent changes, bump
      the driver versions.
      
      Jake changes how the driver determines whether or not the device is
      currently up to resolve the possible issue of freeing data structures
      and other memory before they have been fully allocated.  Refactored
      the driver to simplify the locking behavior and to consistently use
      spinlocks instead of an overloaded bit lock to protect MAC and filter
      lists.  Created a helper function which can convert the AdminQ link
      speed definition into a virtchnl definition.
      
      Colin Ian King cleans up a redundant variable initialization.
      
      Alex cleans up the driver to stop clearing the pending bit array for
      each vector manually, since it is prone to dropping an interrupt and
      based on the hardware specs, the pending bit array will be cleared
      automatically in MSI-X mode.  Cleaned up flags for promiscuous mode to
      resolve an issue where enabling & disabling promiscuous mode on a VF
      would leave us in a high polling rate for the adminq task.  Cleaned up
      code that was prone to race issues.
      
      Jingjing renames pipeline personalization profile (ppp) to dynamic
      device personalization (ddp) because it was being confused with the
      well known point to point protocol.  Also removed checks for "track_id"
      being zero, since it is valid for it to be zero for profiles that do
      not have any 'write' commands.
      
      v2: cleaned up commit message for patch 12 based on feedback from Sergei
          Shtylyov and Alex Duyck
      v3: dropped patch 15 from the original series while Mariusz Stachura
          works on the changes that Jakub Kicinski has suggested
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      532b5aa0
    • N
      ibmvnic: Don't handle RX interrupts when not up. · 09fb35ea
      Nathan Fontenot 提交于
      Initiating a kdump via the command line can cause a pending interrupt
      to be handled by the ibmvnic driver when initializing the sub-CRQ
      irqs during driver initialization.
      
      NIP [d000000000ca34f0] ibmvnic_interrupt_rx+0x40/0xd0 [ibmvnic]
      LR [c000000008132ef0] __handle_irq_event_percpu+0xa0/0x2f0
      Call Trace:
      [c000000047fcfde0] [c000000008132ef0] __handle_irq_event_percpu+0xa0/0x2f0
      [c000000047fcfea0] [c00000000813317c] handle_irq_event_percpu+0x3c/0x90
      [c000000047fcfee0] [c00000000813323c] handle_irq_event+0x6c/0xd0
      [c000000047fcff10] [c0000000081385e0] handle_fasteoi_irq+0xf0/0x250
      [c000000047fcff40] [c0000000081320a0] generic_handle_irq+0x50/0x80
      [c000000047fcff60] [c000000008014984] __do_irq+0x84/0x1d0
      [c000000047fcff90] [c000000008027564] call_do_irq+0x14/0x24
      [c00000003c92af00] [c000000008014b70] do_IRQ+0xa0/0x120
      [c00000003c92af50] [c000000008002594] hardware_interrupt_common+0x114/0x180
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      09fb35ea
  2. 11 1月, 2018 38 次提交