diff options
author | Jiri Pirko <[email protected]> | 2023-06-01 13:59:52 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-08-22 21:34:17 -0700 |
commit | 5c632cc352e1ca7995e9ccea9a11f7f9a53b1717 (patch) | |
tree | 3a158bb4ad406325fdae09482168fdec8d050518 /tools/perf/scripts/python/intel-pt-events.py | |
parent | c0ae0092927222a1399465325ff778a78cc5f826 (diff) |
net/mlx5: Relax mlx5_devlink_eswitch_get() return value checking
If called from port ops, it is not needed to perform the checks in
mlx5_devlink_eswitch_get(). The reason is devlink port would not be
registered if the checks are not true. Introduce relaxed version
mlx5_devlink_eswitch_nocheck_get() and use it in port ops.
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Shay Drory <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions