diff options
| author | Jiri Pirko <jiri@nvidia.com> | 2023-06-30 10:37:04 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-08-15 00:40:21 +0300 |
| commit | 88074d81e5fe8b76010ea3437330d5ab55535537 (patch) | |
| tree | c4b4970fb143035d87cab743fe113125e9e594c5 /scripts/gdb/linux/device.py | |
| parent | ae80d7a06fdb0b34a0f2842e1aac3da3bde93ccb (diff) | |
| download | linux-88074d81e5fe8b76010ea3437330d5ab55535537.tar.xz | |
net/mlx5: Use mlx5_sf_start_function_id() helper instead of directly calling MLX5_CAP_GEN()
There is a helper called mlx5_sf_start_function_id() that
wraps up a query to get base SF function id. Use that instead of
calling MLX5_CAP_GEN() directly.
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 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions
