aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/devlink.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2020-02-24 08:35:45 +0100
committerDavid S. Miller <davem@davemloft.net>2020-02-24 11:55:06 -0800
commit99ff9cc249ff3c75aa12f52f12a35b3b9cfa32f7 (patch)
treeed164472190e92f9ad88e4ee44291ccbeaf8cb9f /net/core/devlink.c
parentmlxsw: core: Allow to register disabled traps using MLXSW_RXL_DIS (diff)
downloadlinux-99ff9cc249ff3c75aa12f52f12a35b3b9cfa32f7.tar.gz
linux-99ff9cc249ff3c75aa12f52f12a35b3b9cfa32f7.zip
mlxsw: spectrum_trap: Use listener->en/dis_action instead of hard-coded values
The listener fields en_action and dis_action now contain the actions to be used for TRAP and DROP devlink trap actions. Use them directly instead of the hard-coded values. 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 'net/core/devlink.c')
0 files changed, 0 insertions, 0 deletions