Searched refs:MLX5_MAX_PORTS (Results 1 – 12 of 12) sorted by relevance
47 struct netdev_lag_lower_state_info netdev_state[MLX5_MAX_PORTS];63 u8 v2p_map[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS];65 struct lag_func pf[MLX5_MAX_PORTS];121 MLX5_CAP_GEN(dev, num_lag_ports) > MLX5_MAX_PORTS) in mlx5_lag_is_supported()
12 u32 pf_metadata[MLX5_MAX_PORTS];
16 struct mlx5_flow_handle *rules[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS];
70 u8 enabled_ports[MLX5_MAX_PORTS] = {}; in lag_active_port_bits()185 char buf[MLX5_MAX_PORTS * 10 + 1] = {}; in mlx5_lag_print_mapping()186 u8 enabled_ports[MLX5_MAX_PORTS] = {}; in mlx5_lag_print_mapping()317 int disabled[MLX5_MAX_PORTS] = {}; in mlx5_infer_tx_affinity_mapping()318 int enabled[MLX5_MAX_PORTS] = {}; in mlx5_infer_tx_affinity_mapping()384 u8 disabled_ports[MLX5_MAX_PORTS] = {}; in mlx5_lag_drop_rule_setup()451 u8 ports[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS] = {}; in mlx5_modify_lag()1580 mdev = kvzalloc(sizeof(mdev[0]) * MLX5_MAX_PORTS, GFP_KERNEL); in mlx5_lag_query_cong_counters()
104 u8 ports[MLX5_MAX_PORTS] = {}; in mapping_show()
99 struct list_head peer[MLX5_MAX_PORTS]; /* flows with peer flow */
252 struct mlx5_flow_handle **peer_miss_rules[MLX5_MAX_PORTS];284 struct list_head peer_flows[MLX5_MAX_PORTS];
176 return clamp_t(u8, MLX5_CAP_GEN(mdev, num_lag_ports), 1, MLX5_MAX_PORTS); in mlx5e_get_num_lag_ports()880 u32 tisn[MLX5_MAX_PORTS][MLX5E_MAX_NUM_TC];
1259 if (pfindex >= MLX5_MAX_PORTS) { in esw_add_fdb_peer_miss_rules()1261 pfindex, MLX5_MAX_PORTS); in esw_add_fdb_peer_miss_rules()1658 count = MLX5_MAX_PORTS * (esw->total_vports * MAX_SQ_NVPORTS + MAX_PF_SQ); in esw_create_send_to_vport_group()1728 int max_peer_ports = (esw->total_vports - 1) * (MLX5_MAX_PORTS - 1); in esw_create_peer_esw_miss_group()1857 table_size = MLX5_MAX_PORTS * (esw->total_vports * MAX_SQ_NVPORTS + MAX_PF_SQ) + in esw_create_offloads_fdb_tables()1858 esw->total_vports * MLX5_MAX_PORTS + MLX5_ESW_MISS_FLOWS; in esw_create_offloads_fdb_tables()3035 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_esw_offloads_devcom_init()
2031 for (i = 0; i < MLX5_MAX_PORTS; i++) { in mlx5e_tc_del_fdb_peers_flow()5410 for (i = 0; i < MLX5_MAX_PORTS; i++) { in mlx5e_tc_clean_fdb_peer_flows()
88 MLX5_MAX_PORTS = 4, enumerator1309 if (idx >= 1 && idx <= MLX5_MAX_PORTS) in mlx5_get_dev_index()
1154 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS];