diff options
| author | 2020-02-24 08:35:44 +0100 | |
|---|---|---|
| committer | 2020-02-24 11:55:06 -0800 | |
| commit | 76d4067fe1dea4992297c069cbee4c826ffa9c63 (patch) | |
| tree | a55f51155294417118bb0849f6eac79ea0d6d24e /include/linux/timerqueue.h | |
| parent | mlxsw: spectrum_trap: Set unreg_action to be SET_FW_DEFAULT (diff) | |
mlxsw: core: Allow to register disabled traps using MLXSW_RXL_DIS
Introduce a new macro MLXSW_RXL_DIS that allows to register listeners
as disabled. That allows that from now on, the "action" can be
understood always as "enabled action" and "unreg_action" as "disabled
action". Rename them and treat them accordingly.
Use the new macro for defining drops in spectrum_trap.c.
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
