[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1288205610.2658.2.camel@edumazet-laptop>
Date: Wed, 27 Oct 2010 20:53:30 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Breno Leitao <leitao@...ux.vnet.ibm.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH v2] ehea: Fixing statistics
Le mercredi 27 octobre 2010 à 14:45 -0400, Breno Leitao a écrit :
> (Applied over Eric's "ehea: fix use after free" patch)
>
> Currently ehea stats are broken. The bytes counters are got from
> the hardware, while the packets counters are got from the device
> driver. Also, the device driver counters are resetted during the
> the down process, and the hardware aren't, causing some weird
> numbers.
>
> This patch just consolidates the packets and bytes on the device
> driver.
>
> Signed-off-by: Breno Leitao <leitao@...ux.vnet.ibm.com>
Reviewed-by: Eric Dumazet <eric.dumazet@...il.com>
--
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