Ben Hutchings 1974cc205e sfc: Replace stats_enabled flag with a disable count
Currently we use a spin-lock to serialise statistics fetches and also
to inhibit them for short periods of time, plus a flag to
enable/disable statistics fetches for longer periods of time, during
online reset.  This was apparently insufficient to deal with the several
reasons for stats being disabled.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-30 14:06:33 -08:00
..
2008-09-03 09:53:48 -04:00
2008-12-12 22:00:49 -08:00
2008-12-12 22:00:49 -08:00
2008-12-12 22:00:49 -08:00
2008-12-12 21:58:17 -08:00
2008-12-12 21:57:57 -08:00
2008-11-20 04:17:42 -08:00
2008-12-12 21:58:17 -08:00
2008-12-12 21:58:17 -08:00
2008-09-03 09:53:48 -04:00
2008-09-03 09:53:48 -04:00