1. 21 8月, 2013 6 次提交
  2. 02 10月, 2012 1 次提交
  3. 08 9月, 2012 1 次提交
  4. 16 2月, 2012 1 次提交
    • B
      sfc: Add SR-IOV back-end support for SFC9000 family · cd2d5b52
      Ben Hutchings 提交于
      On the SFC9000 family, each port has 1024 Virtual Interfaces (VIs),
      each with an RX queue, a TX queue, an event queue and a mailbox
      register.  These may be assigned to up to 127 SR-IOV virtual functions
      per port, with up to 64 VIs per VF.
      
      We allocate an extra channel (IRQ and event queue only) to receive
      requests from VF drivers.
      
      There is a per-port limit of 4 concurrent RX queue flushes, and queue
      flushes may be initiated by the MC in response to a Function Level
      Reset (FLR) of a VF.  Therefore, when SR-IOV is in use, we submit all
      flush requests via the MC.
      
      The RSS indirection table is shared with VFs, so the number of RX
      queues used in the PF is limited to the number of VIs per VF.
      
      This is almost entirely the work of Steve Hodgson, formerly
      shodgson@solarflare.com.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      cd2d5b52
  5. 27 1月, 2012 3 次提交
    • B
      sfc: Add hwmon driver for boards using SFC9000-family controllers · 55c5e0f8
      Ben Hutchings 提交于
      The SFC9000-family controllers have firmware to manage all board
      peripherals including temperature, heat sink continuity and voltage
      sensors.  The firmware reports sensor alarms, which we log, and
      will shut down the board if necessary.
      
      Some users may want to monitor their boards more closely, so add an
      hwmon driver that exposes all sensors reported by the firmware.  Move
      efx_mcdi_sensor_event() into the new file so it can share the array of
      sensor labels with the hwmon driver.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      55c5e0f8
    • M
    • B
      sfc: Merge efx_mac_operations into efx_nic_type · 710b208d
      Ben Hutchings 提交于
      No NICs need to switch efx_mac_operations at run-time, and the MAC
      operations are fairly closely bound to NIC types.
      
      Move efx_mac_operations::reconfigure to efx_nic_type::reconfigure_mac
      and efx_mac_operations::check_fault fo efx_nic_type::check_mac_fault.
      Change callers to call through efx->type or directly if the NIC type
      is known.
      
      Remove efx_mac_operations::update_stats.  The implementations for
      Falcon used to fetch MAC statistics synchronously and this was used by
      efx_register_netdev() to clear statistics after running self-tests.
      However, it now only converts statistics that have already been
      fetched (and that only for Falcon), and the call from
      efx_register_netdev() has no effect.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      710b208d
  6. 11 8月, 2011 1 次提交
  7. 01 3月, 2011 2 次提交
  8. 21 10月, 2010 1 次提交
  9. 04 2月, 2010 1 次提交
  10. 26 1月, 2010 1 次提交
  11. 30 11月, 2009 1 次提交
    • B
      sfc: Add support for SFC9000 family (1) · afd4aea0
      Ben Hutchings 提交于
      This adds support for the SFC9000 family of 10G Ethernet controllers
      and LAN-on-motherboard chips, starting with the SFL9021 'Siena' and
      SFC9020 'Bethpage'.
      
      The SFC9000 family is based on the SFC4000 'Falcon' architecture, but
      with some significant changes:
      
      - Two ports are associated with two independent PCI functions
        (except SFC9010)
      - Integrated 10GBASE-T PHY(s) (SFL9021/9022)
      - MAC, PHY and board peripherals are managed by firmware
        - Driver does not require board-specific code
        - Firmware supports wake-on-LAN and lights-out management through NC-SI
      - IPv6 checksum offload and RSS
      - Filtering by MAC address and VLAN (not included in this code)
      - PCI SR-IOV (not included in this code)
      
      Credit for this code is largely due to my colleagues at Solarflare:
      
         Guido Barzini
         Steve Hodgson
         Kieran Mansley
         Matthew Slattery
         Neil Turton
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      afd4aea0