Home
last modified time | relevance | path

Searched refs:netdev_state (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
A Dmp.c60 tracker.netdev_state[MLX5_LAG_P1].tx_enabled = true; in mlx5_lag_set_port_affinity()
61 tracker.netdev_state[MLX5_LAG_P2].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()
63 tracker.netdev_state[MLX5_LAG_P2].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()
69 tracker.netdev_state[MLX5_LAG_P2].link_up = false; in mlx5_lag_set_port_affinity()
73 tracker.netdev_state[MLX5_LAG_P1].link_up = false; in mlx5_lag_set_port_affinity()
75 tracker.netdev_state[MLX5_LAG_P2].link_up = true; in mlx5_lag_set_port_affinity()
83 if (tracker.netdev_state[MLX5_LAG_P1].tx_enabled) in mlx5_lag_set_port_affinity()
[all …]
A Dlag.c190 p1en = tracker->netdev_state[MLX5_LAG_P1].tx_enabled && in mlx5_infer_tx_affinity_mapping()
191 tracker->netdev_state[MLX5_LAG_P1].link_up; in mlx5_infer_tx_affinity_mapping()
193 p2en = tracker->netdev_state[MLX5_LAG_P2].tx_enabled && in mlx5_infer_tx_affinity_mapping()
194 tracker->netdev_state[MLX5_LAG_P2].link_up; in mlx5_infer_tx_affinity_mapping()
702 tracker->netdev_state[idx] = *lag_lower_info; in mlx5_handle_changelowerstate_event()
752 ldev->tracker.netdev_state[fn].link_up = 0; in mlx5_ldev_add_netdev()
753 ldev->tracker.netdev_state[fn].tx_enabled = 0; in mlx5_ldev_add_netdev()
1028 ndev = ldev->tracker.netdev_state[MLX5_LAG_P1].tx_enabled ? in mlx5_lag_get_roce_netdev()
A Dlag.h36 struct netdev_lag_lower_state_info netdev_state[MLX5_MAX_PORTS]; member

Completed in 8 milliseconds