]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sfc: Use a global count of active queues instead of pending drains
authorAlexandre Rames <arames@solarflare.com>
Mon, 10 Jun 2013 10:03:21 +0000 (11:03 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 29 Aug 2013 17:12:13 +0000 (18:12 +0100)
commit3881d8ab065b23bb07400aa820e737d80fdaced3
tree646f9543591f8cfcf20d40e1cdb0d7046f9fa9cc
parente8c68c0a09279107b5b239ca6fa7c5839717b7e2
sfc: Use a global count of active queues instead of pending drains

On EF10, the firmware will initiate a queue flush in certain
error cases.  We need to accept that flush events might appear
at any time after a queue has been initialised, not just when
we try to flush them.

We can handle Falcon-architecture in just the same way.

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