Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c520 if (!MLX5_CAP_GEN_MAX(dev, hca_cap_2)) in handle_hca_cap_2()
565 prof->log_max_qp = min_t(u8, 18, MLX5_CAP_GEN_MAX(dev, log_max_qp)); in handle_hca_cap()
566 } else if (MLX5_CAP_GEN_MAX(dev, log_max_qp) < prof->log_max_qp) { in handle_hca_cap()
569 MLX5_CAP_GEN_MAX(dev, log_max_qp)); in handle_hca_cap()
570 prof->log_max_qp = MLX5_CAP_GEN_MAX(dev, log_max_qp); in handle_hca_cap()
582 if (MLX5_CAP_GEN_MAX(dev, uar_4k) && PAGE_SIZE > 4096) in handle_hca_cap()
587 if (MLX5_CAP_GEN_MAX(dev, cache_line_128byte)) in handle_hca_cap()
593 if (MLX5_CAP_GEN_MAX(dev, dct)) in handle_hca_cap()
596 if (MLX5_CAP_GEN_MAX(dev, pci_sync_for_fw_update_event)) in handle_hca_cap()
599 if (MLX5_CAP_GEN_MAX(dev, num_vhca_ports)) in handle_hca_cap()
[all …]
Ddevlink.c471 !(MLX5_CAP_GEN(dev, roce_rw_supported) && MLX5_CAP_GEN_MAX(dev, roce))) { in mlx5_devlink_enable_roce_validate()
786 MLX5_CAP_GEN_MAX(dev, log_max_current_uc_list)) { in mlx5_devlink_max_uc_list_validate()
804 if (!MLX5_CAP_GEN_MAX(dev, log_max_current_uc_list_wr_supported)) in mlx5_devlink_max_uc_list_param_register()
823 if (!MLX5_CAP_GEN_MAX(dev, log_max_current_uc_list_wr_supported)) in mlx5_devlink_max_uc_list_param_unregister()
Dpci_irq.c51 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_get_default_msix_vec_count()
81 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_set_msix_vec_count()
Dsriov.c214 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_core_sriov_set_msix_vec_count()
Dmlx5_core.h334 return MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_sriov_get_vf_total_msix()
Deq.c559 if (MLX5_CAP_GEN_MAX(dev, dct)) in gather_async_events_mask()
575 if (MLX5_CAP_GEN_MAX(dev, vhca_state)) in gather_async_events_mask()
/linux-6.1.9/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.1.9/include/linux/mlx5/
Ddevice.h1245 #define MLX5_CAP_GEN_MAX(mdev, cap) \ macro