Neil Horman 5848cc096a net: drop_monitor: make last_rx timestamp private
It was recently pointed out to me that the last_rx field of the
net_device structure wasn't updated regularly.  In fact only the
bonding driver really uses it currently.  Since the drop_monitor code
relies on the last_rx field to detect drops on recevie in hardware, We
need to find a more reliable way to rate limit our drop checks (so
that we don't check for drops on every frame recevied, which would be
inefficient.  This patch makes a last_rx timestamp that is private to
the drop monitor code and is updated for every device that we track.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-02 14:37:45 -07:00
..
2009-05-25 01:53:53 -07:00
2009-09-01 17:40:57 -07:00
2009-09-01 17:40:57 -07:00
2009-05-25 01:53:53 -07:00
2009-08-19 23:08:24 +04:00
2009-09-02 01:03:53 -07:00
2009-07-12 12:22:34 -07:00
2009-09-02 01:03:53 -07:00
2009-09-02 01:03:53 -07:00
2009-07-23 18:01:10 -07:00
2009-08-04 16:44:23 -04:00
2009-08-05 10:42:58 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-09-02 01:03:53 -07:00