]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Collect tclass related stats periodically
authorNogah Frankel <nogahf@mellanox.com>
Mon, 6 Nov 2017 06:23:47 +0000 (07:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Nov 2017 03:23:38 +0000 (12:23 +0900)
commit7dd377ef4f2558fdd30739b432ebbbd9cf3f3676
tree9c2a28e8e219d5585b7e53b17b51aa4e3c72b30b
parent3b7e85ea0df2d5b2644667226b4757529cca8de3
mlxsw: spectrum: Collect tclass related stats periodically

Add more statistics to be collected from the HW periodically. These stats
are tclass based (beside ECN marked packet, that exist only port based).
They are needed to expose RED qdisc stats and xstats correctly.

Signed-off-by: Nogah Frankel <nogahf@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