diff options
author | Jiri Pirko <jiri@mellanox.com> | 2020-02-24 08:35:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-24 11:55:06 -0800 |
commit | 4a23d45a3e0cfaf9676ba2e67f2c2bca5a1478f0 (patch) | |
tree | 56ea155130d5823c08f9a1ab2afaf01b39e0baa4 /Documentation/networking | |
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>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions