diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-06-01 13:59:52 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-08-22 21:34:17 -0700 |
commit | 5c632cc352e1ca7995e9ccea9a11f7f9a53b1717 (patch) | |
tree | 3a158bb4ad406325fdae09482168fdec8d050518 /tools/perf/scripts/python/syscall-counts-by-pid.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 <jiri@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions