Lines Matching full:lag
76 * dsa_lag_map() - Map LAG structure to a linear LAG array
78 * @lag: LAG structure that is to be mapped to the tree's array.
86 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_map() argument
92 dst->lags[id - 1] = lag; in dsa_lag_map()
93 lag->id = id; in dsa_lag_map()
100 * returns an error for this device when joining the LAG. The in dsa_lag_map()
102 * fall back to a software LAG. in dsa_lag_map()
107 * dsa_lag_unmap() - Remove a LAG ID mapping
109 * @lag: LAG structure that was mapped.
114 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_unmap() argument
119 if (dsa_lag_by_id(dst, id) == lag) { in dsa_lag_unmap()
121 lag->id = 0; in dsa_lag_unmap()
134 return dp->lag; in dsa_tree_lag_find()
1309 /* Don't keep track of admin state on LAG DSA masters, in dsa_tree_master_admin_state_change()
1332 /* Don't keep track of oper state on LAG DSA masters, in dsa_tree_master_oper_state_change()