diff options
author | Jiri Pirko <jiri@mellanox.com> | 2020-02-24 10:35:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-24 22:55:06 +0300 |
commit | 76d4067fe1dea4992297c069cbee4c826ffa9c63 (patch) | |
tree | a55f51155294417118bb0849f6eac79ea0d6d24e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1ef658a37729ca0419f5ae8171423736502d520a (diff) | |
download | linux-76d4067fe1dea4992297c069cbee4c826ffa9c63.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions