[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090902.143755.109474596.davem@davemloft.net>
Date: Wed, 02 Sep 2009 14:37:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nhorman@...driver.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH] drop_monitor: make last_rx timestamp private
From: Neil Horman <nhorman@...driver.com>
Date: Wed, 2 Sep 2009 09:36:20 -0400
> Ok, heres a repost, unchanged saved for being massaged to fit in with the recent
> changes that my origional patch raced against. Thanks!
> Neil
>
>
> 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@...driver.com>
Applied, thanks Neil.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists