commit | f16e7f64e4b5811902497b25cbe9c8a746659753 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Sat Mar 07 12:40:18 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 08 21:07:48 2020 -0700 |
tree | 01972c04283f80bfcdd3acee0e4a2eb1aa448fd4 | |
parent | 48855479510be1f8769cb13174f29dd8a44b4256 [diff] |
mlxsw: spectrum_acl: Ask device for rule stats only if counter was created Set a flag in case rule counter was created. Only query the device for stats of a rule, which has the valid counter assigned. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>