]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d98ced61b569cdcd7d141ec27758dd29e8f7ec0
treecd44e5213fe042a36afc4aeef9caffb6e8653e4c
parent8d0e906bb2799adc44966ed1e5c9d7a0259d9eab
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