summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAya Levin <ayal@nvidia.com>2021-01-26 15:24:17 -0800
committerJakub Kicinski <kuba@kernel.org>2021-01-27 19:53:53 -0800
commit70038b73e40e2ce6bc4c8f25bbf0747b7a07a61f (patch)
tree0f58a95d632ce04599dbf42d29c15315f05264e4 /net/switchdev/switchdev.c
parent5543e989fe5e2fe6a5829ee42c00152cac2bb8a0 (diff)
net/mlx5e: Add listener to trap event
Add support for listening to blocking events in the ETH driver. Listen on trap event. If received, call mlx5e_handle_trap_event() which: 1) Verifies if driver needs open/close trap-RQ with respect to the active traps count. 2) Inspects trap id and its action (trap/drop) and add/remove the flow steering rule accordingly. Otherwise, return an error. Signed-off-by: Aya Levin <ayal@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@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/switchdev.c')
0 files changed, 0 insertions, 0 deletions