summaryrefslogtreecommitdiff
path: root/net/switchdev
diff options
context:
space:
mode:
authorAya Levin <ayal@nvidia.com>2021-01-26 15:24:19 -0800
committerJakub Kicinski <kuba@kernel.org>2021-01-27 19:53:54 -0800
commiteb3862a0525d26f0975ed4f750bc151920f2f25c (patch)
tree9e504e6209caba9b270abddd98ad83615a7869dc /net/switchdev
parent49fdbd23418f5b18536d02f257096bd71fc83086 (diff)
net/mlx5e: Enable traps according to link state
Avoid trapping packets when the interface is down, and revive them when interface is back up. Add API to mlx5 core retrieving the action by trap id. Use it to apply traps when interface is up, and disable then when interface is down. Signed-off-by: Aya Levin <ayal@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions