Skip to content
  • Steve Hodgson's avatar
    sfc: Remove efx_rx_queue::add_lock · 90d683af
    Steve Hodgson authored
    
    
    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: default avatarBen Hutchings <bhutchings@solarflare.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    90d683af