Lines Matching full:lag
148 /* Maps offloaded LAG netdevs to a zero-based linear ID for
180 /* LAG IDs are one-based, the dst->lags array is zero-based */
196 /* DSA LAG IDs are one-based, dst->lags is zero-based */ in dsa_lag_by_id()
206 struct dsa_lag *lag = dsa_lag_by_id(dst, id); in dsa_lag_id() local
208 if (lag->dev == lag_dev) in dsa_lag_id()
209 return lag->id; in dsa_lag_id()
313 struct dsa_lag *lag; member
362 struct dsa_lag lag; member
484 * offloaded LAG should set this to the maximum number of
712 return dp->lag ? dp->lag->id : 0; in dsa_port_lag_id_get()
717 return dp->lag ? dp->lag->dev : NULL; in dsa_port_lag_dev_get()
721 const struct dsa_lag *lag) in dsa_port_offloads_lag() argument
723 return dsa_port_lag_dev_get(dp) == lag->dev; in dsa_port_offloads_lag()
740 if (dp->lag) in dsa_port_to_bridge_port()
741 return dp->lag->dev; in dsa_port_to_bridge_port()
1049 int (*lag_fdb_add)(struct dsa_switch *ds, struct dsa_lag lag,
1052 int (*lag_fdb_del)(struct dsa_switch *ds, struct dsa_lag lag,
1106 int port, struct dsa_lag lag,
1110 int port, struct dsa_lag lag);
1178 * LAG integration
1182 struct dsa_lag lag,
1186 struct dsa_lag lag);