sfc: Stop RX refill before flushing RX queues
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 27 May 2013 15:52:54 +0000 (16:52 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 21 Aug 2013 18:48:54 +0000 (19:48 +0100)
commitd8aec745ddaf278ba187d7712c1becc5ffd0f7da
tree6f6f9c650a0eeb74d933bed7b032dd4554ca24b1
parent1840667a851efb5f719d2c76b235c172104722e8
sfc: Stop RX refill before flushing RX queues

rx_queue::enabled guards refill, so rename it to reflect that.  Clear
it at the start of the queue teardown process rather than waiting for
the RX queue to be flushed.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/nic.c
drivers/net/ethernet/sfc/rx.c