summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-mxs.c
diff options
context:
space:
mode:
authorAya Levin <ayal@nvidia.com>2021-04-12 17:50:08 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-04-15 02:12:54 +0300
commit41bafb31dcd58d834bdffa5db703f94fd2cec727 (patch)
tree3b27494be9ecef60e6941e0aa2ea7b459a00e402 /drivers/gpio/gpio-mxs.c
parent2afeec08ab5c86ae21952151f726bfe184f6b23d (diff)
downloadlinux-41bafb31dcd58d834bdffa5db703f94fd2cec727.tar.xz
net/mlx5: Fix setting of devlink traps in switchdev mode
Prevent setting of devlink traps on the uplink while in switchdev mode. In this mode, it is the SW switch responsibility to handle both packets with a mismatch in destination MAC or VLAN ID. Therefore, there are no flow steering tables to trap undesirable packets and driver crashes upon setting a trap. Fixes: 241dc159391f ("net/mlx5: Notify on trap action by blocking event") Signed-off-by: Aya Levin <ayal@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/gpio/gpio-mxs.c')
0 files changed, 0 insertions, 0 deletions