Home
last modified time | relevance | path

Searched refs:MLX5_LAG_P1 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dmp.c29 return mlx5_esw_multipath_prereq(ldev->pf[MLX5_LAG_P1].dev, in mlx5_lag_multipath_check_prereq()
60 tracker.netdev_state[MLX5_LAG_P1].tx_enabled = true; in mlx5_lag_set_port_affinity()
62 tracker.netdev_state[MLX5_LAG_P1].link_up = true; in mlx5_lag_set_port_affinity()
66 tracker.netdev_state[MLX5_LAG_P1].tx_enabled = true; in mlx5_lag_set_port_affinity()
67 tracker.netdev_state[MLX5_LAG_P1].link_up = true; in mlx5_lag_set_port_affinity()
72 tracker.netdev_state[MLX5_LAG_P1].tx_enabled = false; in mlx5_lag_set_port_affinity()
73 tracker.netdev_state[MLX5_LAG_P1].link_up = false; in mlx5_lag_set_port_affinity()
78 mlx5_core_warn(ldev->pf[MLX5_LAG_P1].dev, in mlx5_lag_set_port_affinity()
83 if (tracker.netdev_state[MLX5_LAG_P1].tx_enabled) in mlx5_lag_set_port_affinity()
84 mlx5_notifier_call_chain(ldev->pf[MLX5_LAG_P1].dev->priv.events, in mlx5_lag_set_port_affinity()
[all …]
H A Dlag.c431 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in _mlx5_modify_lag()
509 struct lag_func *dev0 = &ldev->pf[MLX5_LAG_P1]; in mlx5_lag_set_port_sel_mode_offloads()
563 for (i = MLX5_LAG_P1 + 1; i < ldev->ports; i++) { in mlx5_lag_create_single_fdb()
573 for (; i > MLX5_LAG_P1; i--) in mlx5_lag_create_single_fdb()
686 for (i = MLX5_LAG_P1 + 1; i < ldev->ports; i++) in mlx5_deactivate_lag()
737 dev = ldev->pf[MLX5_LAG_P1].dev; in mlx5_lag_check_prereq()
831 for (i = MLX5_LAG_P1 + 1; i < ldev->ports; i++) { in mlx5_shared_fdb_supported()
843 dev = ldev->pf[MLX5_LAG_P1].dev; in mlx5_shared_fdb_supported()
1399 dev == ldev->pf[MLX5_LAG_P1].dev; in mlx5_lag_is_master()
1489 ndev = ldev->pf[MLX5_LAG_P1].netdev; in mlx5_lag_get_roce_netdev()
[all …]
H A Dport_sel.c42 struct mlx5_core_dev *dev = ldev->pf[MLX5_LAG_P1].dev; in mlx5_lag_create_port_sel_table()
298 struct mlx5_core_dev *dev = ldev->pf[MLX5_LAG_P1].dev; in mlx5_lag_create_definer()
344 struct mlx5_core_dev *dev = ldev->pf[MLX5_LAG_P1].dev; in mlx5_lag_destroy_definer()
456 struct mlx5_core_dev *dev = ldev->pf[MLX5_LAG_P1].dev; in mlx5_lag_set_inner_ttc_params()
477 struct mlx5_core_dev *dev = ldev->pf[MLX5_LAG_P1].dev; in mlx5_lag_set_outer_ttc_params()
508 struct mlx5_core_dev *dev = ldev->pf[MLX5_LAG_P1].dev; in mlx5_lag_create_ttc_table()
522 struct mlx5_core_dev *dev = ldev->pf[MLX5_LAG_P1].dev; in mlx5_lag_create_inner_ttc_table()
H A Dlag.h16 MLX5_LAG_P1, enumerator
H A Dmpesw.c71 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in enable_mpesw()