Searched refs:MLX5_MAX_PORTS (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | lag.h | 48 struct netdev_lag_lower_state_info netdev_state[MLX5_MAX_PORTS]; 65 u8 v2p_map[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS]; 67 struct lag_func pf[MLX5_MAX_PORTS]; 135 mlx5_get_dev_index(dev) >= MLX5_MAX_PORTS || in mlx5_lag_is_supported() 136 MLX5_CAP_GEN(dev, num_lag_ports) > MLX5_MAX_PORTS) in mlx5_lag_is_supported() 143 i = tmp, tmp < MLX5_MAX_PORTS; tmp++)
|
| H A D | lag.c | 67 u8 enabled_ports[MLX5_MAX_PORTS] = {}; in lag_active_port_bits() 193 char buf[MLX5_MAX_PORTS * 10 + 1] = {}; in mlx5_lag_print_mapping() 194 u8 enabled_ports[MLX5_MAX_PORTS] = {}; in mlx5_lag_print_mapping() 384 int disabled[MLX5_MAX_PORTS] = {}; in mlx5_infer_tx_affinity_mapping() 385 int enabled[MLX5_MAX_PORTS] = {}; in mlx5_infer_tx_affinity_mapping() 452 u8 disabled_ports[MLX5_MAX_PORTS] = {}; in mlx5_lag_drop_rule_setup() 556 u8 ports[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS] = {}; in mlx5_modify_lag() 1250 if (i < MLX5_MAX_PORTS) in mlx5_lag_get_devcom_comp() 1325 if (i < MLX5_MAX_PORTS) { in mlx5_handle_changeupper_event() 1761 for (i = start_idx; i < MLX5_MAX_PORTS; i++) in mlx5_get_next_ldev_func() [all …]
|
| H A D | port_sel.h | 16 struct mlx5_flow_handle *rules[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS];
|
| H A D | mpesw.h | 12 u32 pf_metadata[MLX5_MAX_PORTS];
|
| H A D | debugfs.c | 104 u8 ports[MLX5_MAX_PORTS] = {}; in mapping_show()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_common.c | 95 static void mlx5e_destroy_tises(struct mlx5_core_dev *mdev, u32 tisn[MLX5_MAX_PORTS][MLX5_MAX_NUM_T… in mlx5e_destroy_tises() 109 static int mlx5e_create_tises(struct mlx5_core_dev *mdev, u32 tisn[MLX5_MAX_PORTS][MLX5_MAX_NUM_TC]) in mlx5e_create_tises()
|
| H A D | eswitch.h | 276 struct mlx5_flow_handle **peer_miss_rules[MLX5_MAX_PORTS]; 308 struct list_head peer_flows[MLX5_MAX_PORTS];
|
| H A D | eswitch_offloads.c | 1274 if (pfindex >= MLX5_MAX_PORTS) { in esw_add_fdb_peer_miss_rules() 1276 pfindex, MLX5_MAX_PORTS); in esw_add_fdb_peer_miss_rules() 1676 count = MLX5_MAX_PORTS * (esw->total_vports * MAX_SQ_NVPORTS + MAX_PF_SQ); in esw_create_send_to_vport_group() 1746 int max_peer_ports = (esw->total_vports - 1) * (MLX5_MAX_PORTS - 1); in esw_create_peer_esw_miss_group() 1875 table_size = MLX5_MAX_PORTS * (esw->total_vports * MAX_SQ_NVPORTS + MAX_PF_SQ) + in esw_create_offloads_fdb_tables() 1876 esw->total_vports * MLX5_MAX_PORTS + MLX5_ESW_MISS_FLOWS; in esw_create_offloads_fdb_tables() 3238 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_esw_offloads_devcom_init()
|
| H A D | en.h | 167 return clamp_t(u8, MLX5_CAP_GEN(mdev, num_lag_ports), 1, MLX5_MAX_PORTS); in mlx5e_get_num_lag_ports()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | tc_priv.h | 99 struct list_head peer[MLX5_MAX_PORTS]; /* flows with peer flow */
|
| /linux/include/linux/mlx5/ |
| H A D | driver.h | 87 MLX5_MAX_PORTS = 8, enumerator 670 u32 tisn[MLX5_MAX_PORTS][MLX5_MAX_NUM_TC]; 1311 if (idx >= 1 && idx <= MLX5_MAX_PORTS) in mlx5_get_dev_index()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | mlx5_ib.h | 1221 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS];
|