]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: reg: Add support for activity information from PEFA register
authorJiri Pirko <jiri@mellanox.com>
Wed, 18 Jul 2018 08:14:35 +0000 (11:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 17:13:13 +0000 (02:13 +0900)
commit74648d84aaa29a226dbcac4145f8631909d4d4c4
treed4ea6e3778398ef23126142102b39422ed9bcb54
parentacfdcd8c19fba703e4633621b1d97da45dff7188
mlxsw: reg: Add support for activity information from PEFA register

In Spectrum-2, the PEFA register is extend to report if the action set
was hit during processing of packets. Introduce this extension and
adjust the code around this accordingly.

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