Home
last modified time | relevance | path

Searched refs:MLX5_CAP_GEN_MAX (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c555 if (!MLX5_CAP_GEN_MAX(dev, hca_cap_2)) in handle_hca_cap_2()
600 prof->log_max_qp = min_t(u8, 18, MLX5_CAP_GEN_MAX(dev, log_max_qp)); in handle_hca_cap()
601 } else if (MLX5_CAP_GEN_MAX(dev, log_max_qp) < prof->log_max_qp) { in handle_hca_cap()
604 MLX5_CAP_GEN_MAX(dev, log_max_qp)); in handle_hca_cap()
605 prof->log_max_qp = MLX5_CAP_GEN_MAX(dev, log_max_qp); in handle_hca_cap()
617 if (MLX5_CAP_GEN_MAX(dev, uar_4k) && PAGE_SIZE > 4096) in handle_hca_cap()
622 if (MLX5_CAP_GEN_MAX(dev, cache_line_128byte)) in handle_hca_cap()
628 if (MLX5_CAP_GEN_MAX(dev, dct)) in handle_hca_cap()
631 if (MLX5_CAP_GEN_MAX(dev, pci_sync_for_fw_update_event)) in handle_hca_cap()
633 if (MLX5_CAP_GEN_MAX(dev, pci_sync_for_fw_update_with_driver_unload)) in handle_hca_cap()
[all …]
Ddevlink.c411 !(MLX5_CAP_GEN(dev, roce_rw_supported) && MLX5_CAP_GEN_MAX(dev, roce))) { in mlx5_devlink_enable_roce_validate()
726 MLX5_CAP_GEN_MAX(dev, log_max_current_uc_list)) { in mlx5_devlink_max_uc_list_validate()
745 if (!MLX5_CAP_GEN_MAX(dev, log_max_current_uc_list_wr_supported)) in mlx5_devlink_max_uc_list_params_register()
765 if (!MLX5_CAP_GEN_MAX(dev, log_max_current_uc_list_wr_supported)) in mlx5_devlink_max_uc_list_params_unregister()
Dpci_irq.c65 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_get_default_msix_vec_count()
97 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_set_msix_vec_count()
Dsriov.c239 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_core_sriov_set_msix_vec_count()
Dmlx5_core.h351 return MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_sriov_get_vf_total_msix()
Deq.c571 if (MLX5_CAP_GEN_MAX(dev, dct)) in gather_async_events_mask()
587 if (MLX5_CAP_GEN_MAX(dev, vhca_state)) in gather_async_events_mask()
Deswitch.c824 if (!MLX5_CAP_GEN_MAX(esw->dev, hca_cap_2)) in mlx5_esw_vport_caps_get()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dvhca_event.h17 return MLX5_CAP_GEN_MAX(dev, vhca_state); in mlx5_vhca_event_supported()
/linux-6.12.1/include/linux/mlx5/
Ddevice.h1290 #define MLX5_CAP_GEN_MAX(mdev, cap) \ macro