[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1343461141.2626.13122.camel@edumazet-glaptop>
Date: Sat, 28 Jul 2012 09:39:01 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Kevin Groeneveld <kgroeneveld@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2] ppp: add 64 bit stats
On Fri, 2012-07-27 at 23:38 -0400, Kevin Groeneveld wrote:
> Add 64 bit stats to ppp driver. The 64 bit stats include tx_bytes,
> rx_bytes, tx_packets and rx_packets. Other stats are still 32 bit.
> The 64 bit stats can be retrieved via the ndo_get_stats operation. The
> SIOCGPPPSTATS ioctl is still 32 bit stats only.
>
> Signed-off-by: Kevin Groeneveld <kgroeneveld@...il.com>
> ---
> v2: - do not use percpu variables for stats
> - use ppp_recv_lock/ppp_xmit_lock when reading 64 bit stats
>
Seems fine to me this time ;)
Acked-by: Eric Dumazet <edumazet@...gle.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