diff options
| author | Aya Levin <ayal@nvidia.com> | 2021-01-27 02:24:17 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-28 06:53:53 +0300 |
| commit | 70038b73e40e2ce6bc4c8f25bbf0747b7a07a61f (patch) | |
| tree | 0f58a95d632ce04599dbf42d29c15315f05264e4 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 5543e989fe5e2fe6a5829ee42c00152cac2bb8a0 (diff) | |
| download | linux-70038b73e40e2ce6bc4c8f25bbf0747b7a07a61f.tar.xz | |
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 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
