mlxsw: spectrum: Add priority counters
authorNogah Frankel <nogahf@mellanox.com>
Wed, 28 Feb 2018 09:44:59 +0000 (10:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2018 17:06:00 +0000 (12:06 -0500)
commit2f88047ec42cc0cc8228247033a8f83960ce7f81
tree897098167249c39bc5f1124ddd4afd7f559d066c
parenteed4baeb040aa41323d0091c18d36cc5a895792d
mlxsw: spectrum: Add priority counters

Add TX packets and bytes counters per switch priority per port.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Reviewed-by: Yuval Mintz <yuvalm@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
drivers/net/ethernet/mellanox/mlxsw/spectrum.h