]> git.baikalelectronics.ru Git - kernel.git/commit
net: netcp: Consolidates statistics collection code
authorWingMan Kwok <w-kwok2@ti.com>
Thu, 23 Jul 2015 19:57:22 +0000 (15:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 07:18:40 +0000 (00:18 -0700)
commita1565a7d841e58ebe4a2122a84e060bdce9c43b7
treeec44456f694ec71b8a8b954c43eeb4c1bcf49273
parent15142f3e6d7909ed4ef68b745ac5bdbadcc635d3
net: netcp: Consolidates statistics collection code

Different Keystone2 platforms have different number and
layouts of hw statistics modules.  This patch consolidates
the statistics processing of different Keystone2 platforms
for easy maintenance.

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