Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.h27 struct netdev_lag_lower_state_info netdev_state[MLX5_MAX_PORTS];
36 u8 v2p_map[MLX5_MAX_PORTS];
37 struct lag_func pf[MLX5_MAX_PORTS];
Dlag.c126 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_lag_dev_get_netdev_idx()
270 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_lag_add_ib_devices()
280 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_lag_remove_ib_devices()
416 is_bonded = (num_slaves == MLX5_MAX_PORTS) && in mlx5_handle_changeupper_event()
525 if (fn >= MLX5_MAX_PORTS) in mlx5_lag_dev_add_pf()
544 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_lag_dev_remove_pf()
548 if (i == MLX5_MAX_PORTS) in mlx5_lag_dev_remove_pf()
567 (MLX5_CAP_GEN(dev, num_lag_ports) != MLX5_MAX_PORTS)) in mlx5_lag_add()
613 for (i = 0; i < MLX5_MAX_PORTS; i++) in mlx5_lag_remove()
617 if (i == MLX5_MAX_PORTS) { in mlx5_lag_remove()
[all …]
Den.h171 return clamp_t(u8, MLX5_CAP_GEN(mdev, num_lag_ports), 1, MLX5_MAX_PORTS); in mlx5e_get_num_lag_ports()
831 u32 tisn[MLX5_MAX_PORTS][MLX5E_MAX_NUM_TC];
/Linux-v5.4/include/linux/mlx5/
Ddriver.h86 MLX5_MAX_PORTS = 2, enumerator
684 struct mlx5_port_caps port_caps[MLX5_MAX_PORTS];
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dqp.c3368 MLX5_MAX_PORTS + in get_tx_affinity()
3376 MLX5_MAX_PORTS + in get_tx_affinity()