linux-stable/drivers/net/ethernet/mellanox
Shay Drory bd3a2f7780 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>
2023-08-14 14:40:22 -07:00
..
mlx4 net/mlx4: Remove many unnecessary NULL values 2023-08-03 15:29:37 +02:00
mlx5/core net/mlx5: Don't query MAX caps twice 2023-08-14 14:40:22 -07:00
mlxbf_gige mlxbf_gige: Remove two unused function declarations 2023-08-09 13:11:42 -07:00
mlxfw mlxfw: Replace zero-length array with DECLARE_FLEX_ARRAY() helper 2023-05-17 21:24:47 -07:00
mlxsw mlxsw: spectrum: Stop ignoring learning notifications from redirected traffic 2023-08-14 08:11:14 +01:00
Kconfig
Makefile