Searched refs:MLX5_MAX_PORTS (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | lag.h | 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]; 123 mlx5_get_dev_index(dev) >= MLX5_MAX_PORTS || in mlx5_lag_is_supported() 124 MLX5_CAP_GEN(dev, num_lag_ports) > MLX5_MAX_PORTS) in mlx5_lag_is_supported() 131 i = tmp, tmp < MLX5_MAX_PORTS; tmp++)
|
H A D | lag.c | 66 u8 enabled_ports[MLX5_MAX_PORTS] = {}; in lag_active_port_bits() 192 char buf[MLX5_MAX_PORTS * 10 + 1] = {}; in mlx5_lag_print_mapping() 193 u8 enabled_ports[MLX5_MAX_PORTS] = {}; in mlx5_lag_print_mapping() 366 int disabled[MLX5_MAX_PORTS] = {}; in mlx5_infer_tx_affinity_mapping() 367 int enabled[MLX5_MAX_PORTS] = {}; in mlx5_infer_tx_affinity_mapping() 434 u8 disabled_ports[MLX5_MAX_PORTS] = {}; in mlx5_lag_drop_rule_setup() 539 u8 ports[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS] = {}; in mlx5_modify_lag() 1115 if (i < MLX5_MAX_PORTS) in mlx5_lag_get_devcom_comp() 1190 if (i < MLX5_MAX_PORTS) { in mlx5_handle_changeupper_event() 1524 for (i = start_idx; i < MLX5_MAX_PORTS; i++) in mlx5_get_next_ldev_func() [all …]
|
H A D | mpesw.h | 12 u32 pf_metadata[MLX5_MAX_PORTS];
|
H A D | port_sel.h | 16 struct mlx5_flow_handle *rules[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS];
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_common.c | 94 static void mlx5e_destroy_tises(struct mlx5_core_dev *mdev, u32 tisn[MLX5_MAX_PORTS][MLX5_MAX_NUM_T… in mlx5e_destroy_tises() 108 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 | 250 struct mlx5_flow_handle **peer_miss_rules[MLX5_MAX_PORTS]; 282 struct list_head peer_flows[MLX5_MAX_PORTS];
|
H A D | eswitch_offloads.c | 1272 if (pfindex >= MLX5_MAX_PORTS) { in esw_add_fdb_peer_miss_rules() 1274 pfindex, MLX5_MAX_PORTS); in esw_add_fdb_peer_miss_rules() 1671 count = MLX5_MAX_PORTS * (esw->total_vports * MAX_SQ_NVPORTS + MAX_PF_SQ); in esw_create_send_to_vport_group() 1741 int max_peer_ports = (esw->total_vports - 1) * (MLX5_MAX_PORTS - 1); in esw_create_peer_esw_miss_group() 1870 table_size = MLX5_MAX_PORTS * (esw->total_vports * MAX_SQ_NVPORTS + MAX_PF_SQ) + in esw_create_offloads_fdb_tables() 1871 esw->total_vports * MLX5_MAX_PORTS + MLX5_ESW_MISS_FLOWS; in esw_create_offloads_fdb_tables() 3082 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_esw_offloads_devcom_init()
|
H A D | en.h | 166 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 659 u32 tisn[MLX5_MAX_PORTS][MLX5_MAX_NUM_TC]; 1296 if (idx >= 1 && idx <= MLX5_MAX_PORTS) in mlx5_get_dev_index()
|