Lines Matching full:lag
53 * dsa_lag_map() - Map LAG structure to a linear LAG array
55 * @lag: LAG structure that is to be mapped to the tree's array.
63 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_map() argument
69 dst->lags[id - 1] = lag; in dsa_lag_map()
70 lag->id = id; in dsa_lag_map()
77 * returns an error for this device when joining the LAG. The in dsa_lag_map()
79 * fall back to a software LAG. in dsa_lag_map()
84 * dsa_lag_unmap() - Remove a LAG ID mapping
86 * @lag: LAG structure that was mapped.
91 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_unmap() argument
96 if (dsa_lag_by_id(dst, id) == lag) { in dsa_lag_unmap()
98 lag->id = 0; in dsa_lag_unmap()
111 return dp->lag; in dsa_tree_lag_find()
1052 /* Don't keep track of admin state on LAG DSA conduits, in dsa_tree_conduit_admin_state_change()
1075 /* Don't keep track of oper state on LAG DSA conduits, in dsa_tree_conduit_oper_state_change()
1718 return a->lag.dev == b->lag.dev; in dsa_db_equal()