net: netcp: Fixes to CPSW statistics collection
authorWingMan Kwok <w-kwok2@ti.com>
Thu, 23 Jul 2015 19:57:23 +0000 (15:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 07:18:40 +0000 (00:18 -0700)
commit489e8a2f09d772afc98a85ca477bb6bc52400c26
treecd44e5213fe042a36afc4aeef9caffb6e8653e4c
parentfbf64c1915b964c05edd4434250fbbb31ded38c6
net: netcp: Fixes to CPSW statistics collection

In certain applications it's beneficial to allow the CPSW h/w
stats counters to continue to increment even while the kernel
polls them. This patch implements this behavior for both 1G
and 10G ethernet subsystem modules.

Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c