Thread (3 messages) 3 messages, 3 authors, 2012-08-04

Re: [PATCH v2] ppp: add 64 bit stats

From: Eric Dumazet <hidden>
Date: 2012-07-28 07:39:07

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 <redacted>
---
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@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help