diff options
| author | Nir Dotan <[email protected]> | 2018-08-03 12:57:43 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-08-03 19:28:01 +0000 |
| commit | 7cc6169493990dec488eda0a3f6612729ca25e81 (patch) | |
| tree | 13c068a377aac30214c2c1512f4c2a1135ba370a /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | mlxsw: core_acl_flex_actions: Remove redundant resource destruction (diff) | |
| download | kernel-7cc6169493990dec488eda0a3f6612729ca25e81.tar.gz kernel-7cc6169493990dec488eda0a3f6612729ca25e81.zip | |
mlxsw: core_acl_flex_actions: Remove redundant counter destruction
Each tc flower rule uses a hidden count action. As counter resource may
not be available due to limited HW resources, update _counter_create()
and _counter_destroy() pair to follow previously introduced symmetric
error condition handling, add a call to mlxsw_afa_resource_del() as part
of the counter resource destruction.
Fixes: c18c1e186ba8 ("mlxsw: core: Make counter index allocated inside the action append")
Signed-off-by: Nir Dotan <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
