1. 25 6月, 2010 1 次提交
  2. 02 6月, 2010 3 次提交
    • S
      sfc: Remove efx_rx_queue::add_lock · 90d683af
      Steve Hodgson 提交于
      Ensure that efx_fast_push_rx_descriptors() must only run
      from efx_process_channel() [NAPI], or when napi_disable()
      has been executed.
      
      Reimplement the slow fill by sending an event to the
      channel, so that NAPI runs, and hanging the subsequent
      fast fill off the event handler. Replace the sfc_refill
      workqueue and delayed work items with a timer. We do
      not need to stop this timer in efx_flush_all() because
      it's safe to send the event always; receiving it will
      be delayed until NAPI is restarted.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      90d683af
    • S
      sfc: Allow DRV_GEN events to be used outside of selftests · d730dc52
      Steve Hodgson 提交于
      Formerly, efx_test_eventq_irq() assumed it was the only user of
      driver generated events. Allow it to interoperate with other users.
      
      We can create more than 16 channels, so align event codes with
      a multiple of 256 not 16.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d730dc52
    • S
      sfc: Workaround flush failures on Falcon B0 · fd371e32
      Steve Hodgson 提交于
      Under certain conditions a PHY may backpressure Falcon B0
      in such a way that flushes timeout. In normal circumstances
      the phy poller would fix the PHY, and the flush could complete.
      
      But efx_nic_flush_queues() is always called after efx_stop_all(),
      so the poller has been stopped. Even if this weren't the case,
      how long would we have to wait for the poller to fix this? And
      several callers of efx_nic_flush_queues() are about to reset
      the device anyway - so we don't need to do anything.
      
      Work around this bug by scheduling a reset. Ensure that the
      MAC is never rewired back into the datapath before the reset
      runs (we already ignore all rx events anyway).
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fd371e32
  3. 29 4月, 2010 6 次提交
  4. 04 2月, 2010 2 次提交
  5. 24 12月, 2009 1 次提交
  6. 30 11月, 2009 3 次提交