]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: sja1105: stop reporting the queue levels in ethtool port counters
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 21 May 2021 13:16:07 +0000 (16:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 May 2021 21:01:41 +0000 (14:01 -0700)
commit14c8404e3ab4b29104d462802253b4f69358e698
treef409b5f857af66ab02e9fe28b7e4a307c79df920
parentb35b4301548932ec8f9f6fe1eecd2a3c5cfac728
net: dsa: sja1105: stop reporting the queue levels in ethtool port counters

The queue levels are not counters, but instead they represent the
occupancy of the MAC TX queues. Having these in ethtool port counters is
not helpful, so remove them.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105.h
drivers/net/dsa/sja1105/sja1105_ethtool.c
drivers/net/dsa/sja1105/sja1105_spi.c