diff options
author | Aya Levin <ayal@nvidia.com> | 2021-04-12 17:50:08 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-04-14 16:12:54 -0700 |
commit | 41bafb31dcd58d834bdffa5db703f94fd2cec727 (patch) | |
tree | 3b27494be9ecef60e6941e0aa2ea7b459a00e402 /virt | |
parent | 2afeec08ab5c86ae21952151f726bfe184f6b23d (diff) |
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 'virt')
0 files changed, 0 insertions, 0 deletions