Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c17 } device[MLX5_MAX_PORTS];
28 struct mlx5_core_dev *devs[MLX5_MAX_PORTS];
83 for (i = 0; i < MLX5_MAX_PORTS; i++) { in mlx5_devcom_register_device()
137 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_devcom_unregister_device()
141 if (i != MLX5_MAX_PORTS) in mlx5_devcom_unregister_device()
194 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_devcom_send_event()
242 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_devcom_get_peer_data()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.h33 struct netdev_lag_lower_state_info netdev_state[MLX5_MAX_PORTS];
44 u8 v2p_map[MLX5_MAX_PORTS];
46 struct lag_func pf[MLX5_MAX_PORTS];
Dlag.c162 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_lag_dev_get_netdev_idx()
350 for (i = 0; i < MLX5_MAX_PORTS; i++) { in mlx5_lag_add_devices()
367 for (i = 0; i < MLX5_MAX_PORTS; i++) { in mlx5_lag_remove_devices()
602 is_in_lag = num_slaves == MLX5_MAX_PORTS && bond_status == 0x3; in mlx5_handle_changeupper_event()
697 if (fn >= MLX5_MAX_PORTS) in mlx5_ldev_add_netdev()
713 for (i = 0; i < MLX5_MAX_PORTS; i++) { in mlx5_ldev_remove_netdev()
727 if (fn >= MLX5_MAX_PORTS) in mlx5_ldev_add_mdev()
740 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_ldev_remove_mdev()
744 if (i == MLX5_MAX_PORTS) in mlx5_ldev_remove_mdev()
759 MLX5_CAP_GEN(dev, num_lag_ports) != MLX5_MAX_PORTS) in __mlx5_lag_dev_add_mdev()
[all …]
Den.h178 return clamp_t(u8, MLX5_CAP_GEN(mdev, num_lag_ports), 1, MLX5_MAX_PORTS); in mlx5e_get_num_lag_ports()
828 u32 tisn[MLX5_MAX_PORTS][MLX5E_MAX_NUM_TC];
Deswitch_offloads.c1629 table_size = MLX5_MAX_PORTS * (esw->total_vports * MAX_SQ_NVPORTS + MAX_PF_SQ) + in esw_create_offloads_fdb_tables()
1687 ix = MLX5_MAX_PORTS * (esw->total_vports * MAX_SQ_NVPORTS + MAX_PF_SQ); in esw_create_offloads_fdb_tables()
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dgsi.c103 num_qps = MLX5_MAX_PORTS; in mlx5_ib_create_gsi()
Dmlx5_ib.h1099 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS];
Dqp.c3909 MLX5_MAX_PORTS + 1; in get_tx_affinity_rr()
/Linux-v5.15/include/linux/mlx5/
Ddriver.h89 MLX5_MAX_PORTS = 2, enumerator