diff options
| author | Jiri Pirko <[email protected]> | 2020-02-24 08:35:44 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-02-24 11:55:06 -0800 |
| commit | 76d4067fe1dea4992297c069cbee4c826ffa9c63 (patch) | |
| tree | a55f51155294417118bb0849f6eac79ea0d6d24e /tools/perf/scripts/python/sched-migration.py | |
| parent | 1ef658a37729ca0419f5ae8171423736502d520a (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 <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions