Lines Matching full:lag
54 * dsa_lag_map() - Map LAG structure to a linear LAG array
56 * @lag: LAG structure that is to be mapped to the tree's array.
64 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_map() argument
70 dst->lags[id - 1] = lag; in dsa_lag_map()
71 lag->id = id; in dsa_lag_map()
78 * returns an error for this device when joining the LAG. The in dsa_lag_map()
80 * fall back to a software LAG. in dsa_lag_map()
85 * dsa_lag_unmap() - Remove a LAG ID mapping
87 * @lag: LAG structure that was mapped.
92 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_unmap() argument
97 if (dsa_lag_by_id(dst, id) == lag) { in dsa_lag_unmap()
99 lag->id = 0; in dsa_lag_unmap()
112 return dp->lag; in dsa_tree_lag_find()
1050 /* Don't keep track of admin state on LAG DSA masters, in dsa_tree_master_admin_state_change()
1073 /* Don't keep track of oper state on LAG DSA masters, in dsa_tree_master_oper_state_change()
1677 return a->lag.dev == b->lag.dev; in dsa_db_equal()