]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: Minor refactoring in ethtool stats
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Mon, 2 Sep 2019 10:23:17 +0000 (13:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2019 22:24:06 +0000 (00:24 +0200)
commit8d8ddb497118502fd76ab16883a0c050b8ac738c
tree2b4d931a6eb3098acfce5d1024463716807378d0
parent84daac5cf9c93d5b968807e2d7b0f2a0697d7d18
dpaa2-eth: Minor refactoring in ethtool stats

As we prepare to read more pages from the DPNI stat counters,
reorganize the code a bit to make it easier to extend.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c