• 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
nic.c 48.1 KB