summaryrefslogtreecommitdiff
path: root/drivers/atm
diff options
context:
space:
mode:
authorNir Dotan <nird@mellanox.com>2018-08-03 15:57:43 +0300
committerDavid S. Miller <davem@davemloft.net>2018-08-03 12:28:01 -0700
commit7cc6169493990dec488eda0a3f6612729ca25e81 (patch)
tree13c068a377aac30214c2c1512f4c2a1135ba370a /drivers/atm
parentdda0a3a3fb92451d4a922e56365ee1f73c8a9586 (diff)
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 <nird@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions