From: Steve Hodgson Date: Tue, 1 Jun 2010 11:19:39 +0000 (+0000) Subject: sfc: Remove efx_rx_queue::add_lock X-Git-Tag: v2.6.36-rc1~571^2~699 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90d683afd1395016775c8d90508614f8d3000b81;p=pandora-kernel.git sfc: Remove efx_rx_queue::add_lock 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: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed