commit | 4a23d45a3e0cfaf9676ba2e67f2c2bca5a1478f0 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Mon Feb 24 08:35:46 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 24 11:55:06 2020 -0800 |
tree | 56ea155130d5823c08f9a1ab2afaf01b39e0baa4 | |
parent | 99ff9cc249ff3c75aa12f52f12a35b3b9cfa32f7 [diff] |
mlxsw: spectrum_trap: Prepare mlxsw_core_trap_action_set() to handle not only action Rename function mlxsw_core_trap_action_set() to mlxsw_core_trap_state_set() and pass bool enabled instead of action. Figure out the action according to the enabled state there. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>