diff options
author | Nir Dotan <nird@mellanox.com> | 2019-01-08 16:48:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-08 16:53:53 -0500 |
commit | ff0db43cd6c530ff944773ccf48ece55d32d0c22 (patch) | |
tree | 859ca559b043f9db60f3def594cdaafe9966f05e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 11287b693d03830010356339e4ceddf47dee34fa (diff) |
mlxsw: spectrum_acl: Add cleanup after C-TCAM update error condition
When writing to C-TCAM, mlxsw driver uses cregion->ops->entry_insert().
In case of C-TCAM HW insertion error, the opposite action should take
place.
Add error handling case in which the C-TCAM region entry is removed, by
calling cregion->ops->entry_remove().
Fixes: a0a777b9409f ("mlxsw: spectrum_acl: Start using A-TCAM")
Signed-off-by: Nir Dotan <nird@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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions