]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1ddff55b60654eaf9c83eeccb89d96da18a8561
tree897098167249c39bc5f1124ddd4afd7f559d066c
parentb0381bf668dc936be24fceed23f895bed1351774
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