Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dlag_mp.c55 tracker.netdev_state[0].tx_enabled = true; in mlx5_lag_set_port_affinity()
56 tracker.netdev_state[1].tx_enabled = true; in mlx5_lag_set_port_affinity()
57 tracker.netdev_state[0].link_up = true; in mlx5_lag_set_port_affinity()
58 tracker.netdev_state[1].link_up = true; in mlx5_lag_set_port_affinity()
61 tracker.netdev_state[0].tx_enabled = true; in mlx5_lag_set_port_affinity()
62 tracker.netdev_state[0].link_up = true; in mlx5_lag_set_port_affinity()
63 tracker.netdev_state[1].tx_enabled = false; in mlx5_lag_set_port_affinity()
64 tracker.netdev_state[1].link_up = false; in mlx5_lag_set_port_affinity()
67 tracker.netdev_state[0].tx_enabled = false; in mlx5_lag_set_port_affinity()
68 tracker.netdev_state[0].link_up = false; in mlx5_lag_set_port_affinity()
[all …]
Dlag.c148 if (!tracker->netdev_state[0].tx_enabled || in mlx5_infer_tx_affinity_mapping()
149 !tracker->netdev_state[0].link_up) { in mlx5_infer_tx_affinity_mapping()
154 if (!tracker->netdev_state[1].tx_enabled || in mlx5_infer_tx_affinity_mapping()
155 !tracker->netdev_state[1].link_up) in mlx5_infer_tx_affinity_mapping()
451 tracker->netdev_state[idx] = *lag_lower_info; in mlx5_handle_changelowerstate_event()
531 ldev->tracker.netdev_state[fn].link_up = 0; in mlx5_lag_dev_add_pf()
532 ldev->tracker.netdev_state[fn].tx_enabled = 0; in mlx5_lag_dev_add_pf()
695 ndev = ldev->tracker.netdev_state[0].tx_enabled ? in mlx5_lag_get_roce_netdev()
Dlag.h27 struct netdev_lag_lower_state_info netdev_state[MLX5_MAX_PORTS]; member