diff options
author | Shay Drory <shayd@nvidia.com> | 2023-07-11 16:32:05 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-08-14 14:40:22 -0700 |
commit | bd3a2f77809b84df5dc15edd72cf9955568e698e (patch) | |
tree | db7ad86074a6b2e165ab8cd439e6f499cd645c2f /tools/perf/scripts/python | |
parent | a41cb59117fa12ee17cda5e5c781eecfcb15dc0f (diff) |
net/mlx5: Don't query MAX caps twice
Whenever mlx5 driver is probed or reloaded, it queries some capabilities
in MAX mode via set_hca_cap() API. Afterwards, the driver queries all
capabilities in MAX mode via mlx5_query_hca_caps() API.
Since MAX caps are read only caps, querying them twice is redundant.
Hence, delete the second query.
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Maher Sanalla <msanalla@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions