summaryrefslogtreecommitdiff
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorAya Levin <ayal@nvidia.com>2021-07-28 18:18:59 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-08-09 20:56:46 -0700
commitc85a6b8feb16c0cdbbc8d9f581c7861c4a9ac351 (patch)
treef5ab2addaa54d2200b34dcfb8f2834eaf155df71 /kernel/irq_work.c
parent8ba3e4c85825c8801a2c298dcadac650a40d7137 (diff)
net/mlx5: Block switchdev mode while devlink traps are active
Since switchdev mode can't support devlink traps, verify there are no active devlink traps before moving eswitch to switchdev mode. If there are active traps, prevent the switchdev mode configuration. Fixes: eb3862a0525d ("net/mlx5e: Enable traps according to link state") Signed-off-by: Aya Levin <ayal@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions