]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Expose per-priority counters via ethtool
authorIdo Schimmel <idosch@mellanox.com>
Tue, 19 Jul 2016 13:35:53 +0000 (15:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 21:53:56 +0000 (14:53 -0700)
commitc8e5c40d5320ed0e1c2cee6bd5f7b0d740961670
tree5ddc533581f916a0783d789f982fc7120bcab1f4
parent0e619560791451b023ca451759c41c6d9d67dcb7
mlxsw: spectrum: Expose per-priority counters via ethtool

Expose per-priority bytes / packets / PFC packets counters via ethtool.

These counters are very useful when debugging QoS functionality and
provide a better insight into the device's forwarding plane.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c