1. 02 10月, 2018 16 次提交
  2. 29 9月, 2018 1 次提交
  3. 27 9月, 2018 1 次提交
  4. 24 9月, 2018 1 次提交
    • E
      ice: remove ndo_poll_controller · 158a08a6
      Eric Dumazet 提交于
      As diagnosed by Song Liu, ndo_poll_controller() can
      be very dangerous on loaded hosts, since the cpu
      calling ndo_poll_controller() might steal all NAPI
      contexts (for all RX/TX queues of the NIC). This capture
      can last for unlimited amount of time, since one
      cpu is generally not able to drain all the queues under load.
      
      ice uses NAPI for TX completions, so we better let core
      networking stack call the napi->poll() to avoid the capture.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      158a08a6
  5. 19 9月, 2018 1 次提交
  6. 29 8月, 2018 8 次提交
  7. 24 8月, 2018 9 次提交
  8. 25 4月, 2018 1 次提交
  9. 27 3月, 2018 2 次提交
    • A
      ice: Implement filter sync, NDO operations and bump version · e94d4478
      Anirudh Venkataramanan 提交于
      This patch implements multiple pieces of functionality:
      
      1. Added ice_vsi_sync_filters, which is called through the service task
         to push filter updates to the hardware.
      
      2. Add support to enable/disable promiscuous mode on an interface.
         Enabling/disabling promiscuous mode on an interface results in
         addition/removal of a promisc filter rule through ice_vsi_sync_filters.
      
      3. Implement handlers for ndo_set_mac_address, ndo_change_mtu,
         ndo_poll_controller and ndo_set_rx_mode.
      
      This patch also marks the end of the driver addition by bumping up the
      driver version.
      Signed-off-by: NAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
      Tested-by: NTony Brelinski <tonyx.brelinski@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      e94d4478
    • A
      ice: Support link events, reset and rebuild · 0b28b702
      Anirudh Venkataramanan 提交于
      Link events are posted to a PF's admin receive queue (ARQ). This patch
      adds the ability to detect and process link events.
      
      This patch also adds the ability to process resets.
      
      The driver can process the following resets:
          1) EMP Reset (EMPR)
          2) Global Reset (GLOBR)
          3) Core Reset (CORER)
          4) Physical Function Reset (PFR)
      
      EMPR is the largest level of reset that the driver can handle. An EMPR
      resets the manageability block and also the data path, including PHY and
      link for all the PFs. The affected PFs are notified of this event through
      a miscellaneous interrupt.
      
      GLOBR is a subset of EMPR. It does everything EMPR does except that it
      doesn't reset the manageability block.
      
      CORER is a subset of GLOBR. It does everything GLOBR does but doesn't
      reset PHY and link.
      
      PFR is a subset of CORER and affects only the given physical function.
      In other words, PFR can be thought of as a CORER for a single PF. Since
      only the issuing PF is affected, a PFR doesn't result in the miscellaneous
      interrupt being triggered.
      
      All the resets have the following in common:
      1) Tx/Rx is halted and all queues are stopped.
      2) All the VSIs and filters programmed for the PF are lost and have to be
         reprogrammed.
      3) Control queue interfaces are reset and have to be reprogrammed.
      
      In the rebuild flow, control queues are reinitialized, VSIs are reallocated
      and filters are restored.
      Signed-off-by: NAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
      Tested-by: NTony Brelinski <tonyx.brelinski@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      0b28b702