1. 03 Feb, 2010 1 commit
  2. 23 Dec, 2009 1 commit
  3. 29 Nov, 2009 20 commits
  4. 26 Nov, 2009 4 commits
    • Ben Hutchings's avatar
      sfc: Change MAC promiscuity and multicast hash at the same time · 8be4f3e6
      Ben Hutchings authored
      
      
      From: Steve Hodgson <shodgson@solarflare.com>
      
      Currently we can set multicast hash immediately (in atomic context)
      but must delay setting MAC promiscuity.  There is not that much
      point in deferring one but not the other, and setting the multicast
      hash on Siena will involve a firmware request.  So process them
      both in efx_mac_work().
      
      Also, set the broadcast bit in the multicast hash in
      efx_set_multicast_list(), since this is required for both Falcon and
      Siena.
      Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8be4f3e6
    • Ben Hutchings's avatar
      sfc: Simplify XMAC link polling · 9007b9fa
      Ben Hutchings authored
      
      
      From: Steve Hodgson <shodgson@solarflare.com>
      
      Only the XMAC on Falcon needs help from the driver to poll and reset
      the MAC-PHY link (XAUI); GMII is a simple parallel bus and on later
      NICs firmware takes care of the XAUI link.  Also, an XMAC interrupt
      currently schedules a work item which simply clears a flag
      (efx_nic::mac_up) to be checked by the regular monitor (or the next
      link reconfiguration, if that is sooner).
      
      Rename the flag to xmac_poll_required, changing its sense.  Remove the
      needless indirection and just set the flag immediately.  Call
      falcon_xmac_poll() directly where required.
      
      Add a new generic operation mac_op::check_fault to check the link
      outside of regular monitoring, as required during self-tests.
      
      (Note that this leaves us with an unused work item, but we will
      immediately have another use for it.)
      Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9007b9fa
    • Ben Hutchings's avatar
      sfc: Split MAC stats DMA initiation and completion · 55edc6e6
      Ben Hutchings authored
      
      
      From: Steve Hodgson <shodgson@solarflare.com>
      
      Currently we initiate MAC stats DMA and busy-wait for completion when
      stats are requested.  We can improve on this with a periodic timer to
      initiate and poll for stats, and opportunistically poll when stats are
      requested.
      
      Since efx_nic::stats_disable_count and efx_stats_{disable,enable}()
      are Falcon-specific, rename them and move them accordingly.
      Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      55edc6e6
    • Ben Hutchings's avatar
      sfc: Fix bugs in RX queue flushing · 127e6e10
      Ben Hutchings authored
      
      
      Avoid overrunning the hardware limit of 4 concurrent RX queue flushes.
      Expand the queue flush state to support this.  Make similar changes to
      TX flushing to keep the code symmetric.
      Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      127e6e10
  5. 24 Nov, 2009 8 commits
  6. 24 Oct, 2009 6 commits