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
..
2009-01-16 14:45:34 -05:00
2009-01-08 16:29:41 +00:00
2009-01-06 15:59:30 -08:00
2009-01-19 13:46:57 +01:00
2009-01-11 01:34:25 +01:00
2009-01-26 12:24:38 -08:00
2009-01-15 16:39:40 -08:00
2009-01-26 21:19:57 +01:00
2009-01-16 14:45:34 -05:00
2009-01-09 03:39:43 -05:00