]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: trim debugfs FQ stats
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Wed, 24 Jun 2020 11:34:17 +0000 (14:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:03:39 +0000 (16:03 -0700)
commit32630e084ad4117e1eff8d04c175ffd252130169
tree94db57d9ccbbb7c41997d9c21520c94701e93ad7
parenteb72e7b65e72c74393618410d3ba4b1bd2597bac
dpaa2-eth: trim debugfs FQ stats

With the addition of multiple traffic classes support, the number
of available frame queues grew significantly, overly inflating the
debugfs FQ statistics entry. Update it to only show the queues
which are actually in use (i.e. have a non-zero frame counter).

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
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