diff options
author | Shay Drory <shayd@nvidia.com> | 2023-04-29 20:41:41 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-05-24 20:44:17 -0700 |
commit | 341a80de2468f481b1f771683709b5649cbfe513 (patch) | |
tree | feea8af7e12fbcc671632d1b616274a8dc6041db /include | |
parent | b4646da0573fae9dfa2b8f1f10936cb6eedd7230 (diff) |
net/mlx5: fw_tracer, Fix event handling
mlx5 driver needs to parse traces with event_id inside the range of
first_string_trace and num_string_trace. However, mlx5 is parsing all
events with event_id >= first_string_trace.
Fix it by checking for the correct range.
Fixes: c71ad41ccb0c ("net/mlx5: FW tracer, events handling")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions