Home
last modified time | relevance | path

Searched refs:MLX5_MAX_PORTS (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.h47 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()
Dmpesw.h12 u32 pf_metadata[MLX5_MAX_PORTS];
Dport_sel.h16 struct mlx5_flow_handle *rules[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS];
Dlag.c70 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()
Ddebugfs.c104 u8 ports[MLX5_MAX_PORTS] = {}; in mapping_show()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h99 struct list_head peer[MLX5_MAX_PORTS]; /* flows with peer flow */
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h252 struct mlx5_flow_handle **peer_miss_rules[MLX5_MAX_PORTS];
284 struct list_head peer_flows[MLX5_MAX_PORTS];
Den.h176 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];
Deswitch_offloads.c1259 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()
Den_tc.c2031 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()
/linux-6.6.21/include/linux/mlx5/
Ddriver.h88 MLX5_MAX_PORTS = 4, enumerator
1309 if (idx >= 1 && idx <= MLX5_MAX_PORTS) in mlx5_get_dev_index()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h1154 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS];