]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_flower: Do not allow mixing HW stats types for actions
authorJiri Pirko <jiri@mellanox.com>
Sat, 7 Mar 2020 11:40:14 +0000 (12:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 04:07:48 +0000 (21:07 -0700)
commit4de07619526b793342c1d83c5e0292307f7e2632
tree95dde524c53ec16adb7c34b816a351e34e5c88bf
parenta3dff5e6cce26fa1b9ccb634f505c0387dc1839a
mlxsw: spectrum_flower: Do not allow mixing HW stats types for actions

As there is one set of counters for the whole action chain, forbid to
mix the HW stats types.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c