]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: add channel stat to debugfs
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 24 Apr 2020 09:33:18 +0000 (12:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Apr 2020 03:37:22 +0000 (20:37 -0700)
commitae970734a1e6de84c2eaab565662b1c7426375bc
tree9964dc7417a8545950b23c273a2318e01d1b0691
parent15f4b52024d7ebb05decbd6a180b451b43668ed2
dpaa2-eth: add channel stat to debugfs

Compute the average number of frames processed for each CDAN (Channel
Data Availability Notification) and export it to debugfs detailed
channel stats.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c