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)
commit7ed674bc3cb10d5cd06a52365a6d3f54827cc4cb
tree5ddc533581f916a0783d789f982fc7120bcab1f4
parent09714275b1ce7877f318bbd6321da1def95697d7
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