Searched refs:MLX5_CAP_GEN_MAX (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | main.c | 555 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 …]
|
D | devlink.c | 411 !(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()
|
D | pci_irq.c | 65 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()
|
D | sriov.c | 239 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_core_sriov_set_msix_vec_count()
|
D | mlx5_core.h | 351 return MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_sriov_get_vf_total_msix()
|
D | eq.c | 571 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()
|
D | eswitch.c | 824 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/ |
D | vhca_event.h | 17 return MLX5_CAP_GEN_MAX(dev, vhca_state); in mlx5_vhca_event_supported()
|
/linux-6.12.1/include/linux/mlx5/ |
D | device.h | 1290 #define MLX5_CAP_GEN_MAX(mdev, cap) \ macro
|