Searched refs:MLX5_CAP_GEN_MAX (Results 1 – 3 of 3) sorted by relevance
594 int max_list_size = 1 << MLX5_CAP_GEN_MAX(dev, log_max_vlan_list); in mlx5_set_nic_vport_vlan_list()642 int max_list_sz = 1 << MLX5_CAP_GEN_MAX(mdev, log_max_current_mc_list); in mlx5_set_nic_vport_mc_list()729 1 << MLX5_CAP_GEN_MAX(dev, log_max_current_uc_list) : in mlx5_query_nic_vport_mac_list()730 1 << MLX5_CAP_GEN_MAX(dev, log_max_current_mc_list); in mlx5_query_nic_vport_mac_list()
515 if (MLX5_CAP_GEN_MAX(dev, uar_4k) && PAGE_SIZE > 4096) in handle_hca_cap()575 if (MLX5_CAP_GEN_MAX(dev, hca_cap_2)) { in handle_hca_cap_2()
1056 #define MLX5_CAP_GEN_MAX(mdev, cap) \ macro