net: netcp: store network statistics in 64 bits
authorMichael Scherban <m-scherban@ti.com>
Fri, 6 Jan 2017 20:37:41 +0000 (15:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Jan 2017 02:03:50 +0000 (21:03 -0500)
commit6a8162e99ef344fcffe14c9a4d1061493c4a81a4
treef5d36a7bdeb9c8260d1dd537599ae34bba0675ab
parentaa255101f7e92b621736856386f87f7b418874a6
net: netcp: store network statistics in 64 bits

Previously the network statistics were stored in 32 bit variable
which can cause some stats to roll over after several minutes of
high traffic. This implements 64 bit storage so larger numbers
can be stored.

Signed-off-by: Michael Scherban <m-scherban@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp.h
drivers/net/ethernet/ti/netcp_core.c