]> git.baikalelectronics.ru Git - kernel.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)
commite85fc0e34ede8f27fd654cb64ad17fe98e3db3ba
tree646f9543591f8cfcf20d40e1cdb0d7046f9fa9cc
parent7db4504c5abd9f8677ce74ffee5795b6f78c4a4f
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