OSDN Git Service

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)
commit0da1e28f97352fb8aadde4d66774373bedd50408
tree94db57d9ccbbb7c41997d9c21520c94701e93ad7
parent575691b309291c5163cca5877ec159120a68774d
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