]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/ppp/ppp_generic.c
ppp: add 64 bit stats
authorKevin Groeneveld <kgroeneveld@gmail.com>
Fri, 27 Jul 2012 17:38:53 +0000 (17:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Aug 2012 03:40:12 +0000 (20:40 -0700)
commite51f6ff396eac38582eb583d16c5d9be05a848d2
treeeab2eca74cb7b1459b50362d48cc6be5bbfc0de2
parent8ff5105a2b9dd0ba596719b165c1827d101e5f1a
ppp: add 64 bit stats

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@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/ppp_generic.c