Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c549 if (!MLX5_CAP_GEN_MAX(dev, hca_cap_2)) in handle_hca_cap_2()
598 MLX5_CAP_GEN_MAX(dev, log_max_qp)); in handle_hca_cap()
599 prof->log_max_qp = MLX5_CAP_GEN_MAX(dev, log_max_qp); in handle_hca_cap()
616 if (MLX5_CAP_GEN_MAX(dev, cache_line_128byte)) in handle_hca_cap()
622 if (MLX5_CAP_GEN_MAX(dev, dct)) in handle_hca_cap()
631 if (MLX5_CAP_GEN_MAX(dev, num_vhca_ports)) in handle_hca_cap()
635 MLX5_CAP_GEN_MAX(dev, num_vhca_ports)); in handle_hca_cap()
637 if (MLX5_CAP_GEN_MAX(dev, release_all_pages)) in handle_hca_cap()
640 if (MLX5_CAP_GEN_MAX(dev, mkey_by_name)) in handle_hca_cap()
645 if (MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix)) in handle_hca_cap()
[all …]
H A Ddevlink.c422 !(MLX5_CAP_GEN(dev, roce_rw_supported) && MLX5_CAP_GEN_MAX(dev, roce))) { in mlx5_devlink_enable_roce_validate()
737 MLX5_CAP_GEN_MAX(dev, log_max_current_uc_list)) { in mlx5_devlink_max_uc_list_validate()
756 if (!MLX5_CAP_GEN_MAX(dev, log_max_current_uc_list_wr_supported)) in mlx5_devlink_max_uc_list_params_register()
776 if (!MLX5_CAP_GEN_MAX(dev, log_max_current_uc_list_wr_supported)) in mlx5_devlink_max_uc_list_params_unregister()
H A Dsriov.c239 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_core_sriov_set_msix_vec_count()
H A Dpci_irq.c64 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_get_default_msix_vec_count()
96 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_set_msix_vec_count()
H A Dmlx5_core.h339 return MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_sriov_get_vf_total_msix()
H A 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()
H A Deswitch.c824 if (!MLX5_CAP_GEN_MAX(esw->dev, hca_cap_2)) in mlx5_esw_vport_caps_get()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dvhca_event.h17 return MLX5_CAP_GEN_MAX(dev, vhca_state); in mlx5_vhca_event_supported()
/openbmc/linux/include/linux/mlx5/
H A Ddevice.h1266 #define MLX5_CAP_GEN_MAX(mdev, cap) \ macro